[Plugin Request] - Simplfy & Weld All
-
Somewhere out there on the forums I wrote some code [I think for EarthMover?] that selects lines 'by same Z'.
By using that you could quickly select the contour lines and the Weld them ? -
tig ...
thats not what im proposing / requesting ...
my workflow to drape a terrain from 3d cad ...
import cad data, purge layers, triple click first contour and weld ... repeat upteen times for each contour so they are all welded ... run simplify contours on the new welded 'curves' ...
Run From Contours in Sandbox ... wait and pray ...
i would like a script that would be able to weld all the contours simultaneously .. rather than what i have to do atm which is to weld each contour based on z value separately which takes a long time to do ...
is this possible?
chris
-
i use that same workflow, and it's frustrating and time consuming, i agree. if there is a way to combine weld and thomthom's 'simplify curve' function from his 'edge tools' script that would be awesome.
my only worry is that it would overload SU most times. I have enough trouble making terrain 'from contours' - it will often take hours if it works at all. similarly, welding a long contour line has caused SU to crash on me - i can't imagine what welding 100s of contour lines would do. i do work on an urban/neighborhood scale though, so perhaps on a site-scale things would be less troublesome.
-
@haynesc said:
Hi all ...
could somebody write a script that would weld all connected contours lines in the model at once ...
also would i be possible to incorporate a simplify feature with it aswell?
thanks
chrisSounds like what Simplify Curves does in my Edge Tools plugin: http://forums.sketchucation.com/viewtopic.php?f=323&t=24593
-
@autarchos said:
i use that same workflow, and it's frustrating and time consuming, i agree. if there is a way to combine weld and thomthom's 'simplify curve' function from his 'edge tools' script that would be awesome.
Simplify Curves should weld the resulting simplified curves... Do you experience otherwise?
-
If you have a 3D surface then simply use my MakeContours Tool to add contours in a separate group that slice through the 3D surface as desired...
I'm not clear how you intend using this or why you want to weld lines you've already used to make a surface ?? -
I believe he's referring to contour lines which is not yet used to create terrain data, and that he'd like to weld the available connected sets and simplify them.
-
embarrassingly, i haven't used simplify curves yet, i just knew it existed... but if it welds & simplifies curves, then it's a real work of genius! if it works with all contours at once, then it appears haynesc's problem is solved.
-
I wrote it to deal with imported CAD data for site surveys where the contours where all to detailed and caused too dense terrain mesh.
It takes all the connected sets of edges it can find in the selection and run a simply algorithm on them before welding the resulting curve.
Note, if a series of edges branches out or connects to faces it won't be treated.
-
I shall check this out tomorrow and report back, thanks and I too work in larger scale design work ... masterplanning
Advertisement