Hi Patrick,
have a look at the new attached version.
I found that elevation issue. For some reason a vector I use to compute the 4 corners wasn't created 100 % horizontal. Don't know why, it's an internal function. After it's creation I now force it to zero/horizontal.
I've also added some additional offset functionality and adding to an existing surface.
For the DTM creation with the circular manholes I need to approximate the arc with a polyline. That is done with a built in function.
See line 454 in this version. TBC computes internally everything in meters.
Linearize(0.0001, 0.0001, 0.1, None, False)
It's currently hardcoded to deviate less than 1/10 of a mm in horizontal/vertical or max. 0.1 m node spacing, whichever hits first.
Let me know if you find another bug.
About that line elevation tie thing. You can define stringlines by point ID instead of easting/northing. If the point is changed the line will move.
You'd need at least one actual point per line, which you'd have to select. The amount of points you'd have to select would be the same as the line count. No real difference.
It's probably easier to keep the lines on separate layers and select by layer and change by delta elevation.
------------------------------
Ronny Schneider
------------------------------
Original Message:
Sent: 09-23-2022 02:42
From: Patrick L'heureux
Subject: TML - Create Line Surface at Bottom of Utility Nodes
One small quirk I saw with the junction boxes, it looks like the elevation at the nodes are not all the same as the reference rim/invert point. Very small difference, in the 1000s, but still odd. Modeling in US Survey feet.
------------------------------
Patrick L'heureux
Original Message:
Sent: 09-21-2022 21:11
From: Ronny Schneider
Subject: TML - Create Line Surface at Bottom of Utility Nodes
Hello Patrick,
since we had a rather short notice public holiday this week I had some time to look into this.
I added this functionality to the macro that sets the rim or floor elevation from a DTM.
For the new part you don't need a DTM but the nodes need to have the correct elevation already.
It works for circular manholes and Junction Boxes.
If you enter an offset of Zero it will only create one line, along the outside of the box.
If you enter an offset it will create two lines.
You can enter negative offsets (to the inside), but I don't know how useful that is. At some point, with very large offsets that will probably result in some weird linework.
Let me know if you find some bugs.
Cheers
Ronny
------------------------------
Ronny Schneider
Original Message:
Sent: 09-19-2022 01:24
From: Patrick L'heureux
Subject: TML - Create Line Surface at Bottom of Utility Nodes
For this application primarily junction boxes but I do use circular manholes quite a bit as well. Thank you
Patrick L'Heureux
Sent from my iPhone
Original Message:
Sent: 9/19/2022 4:06:00 AM
From: Ronny Schneider
Subject: RE: TML - Create Line Surface at Bottom of Utility Nodes
Hi Patrick,
I assume you are using "Junction Boxes" as node type? (Circular Manhole will be simpler anyway)
I might have a look on the weekend.
------------------------------
Ronny Schneider
Original Message:
Sent: 09-15-2022 05:49
From: Patrick L'heureux
Subject: TML - Create Line Surface at Bottom of Utility Nodes
HI All,
Looking for a TML to create a line or surface at the bottom of a utility node based on the node geometry. The option to offset as well would be awesome, i.e 2 foot over excavation. Maybe the option to also extract at the top of the utility with ability to distinguish as top; new surface, new line layer or name line top.
I use the utility module for modeling buildings foundation because then you can create a type for each footing. The downside is trying to extract anything usable to add to a surface or linework for the field devices. I think modeling this way, more BIM tracked, has the ability to save time but there are certain elements that we need to be able to extract to create surfaces.
------------------------------
Patrick L'heureux
------------------------------