HEengineering Posted June 23, 2015 Share Posted June 23, 2015 I have a DXF file that we brought in from another software. When brought into vectorworks it shows up as a 3d wireframe model. We want to be able to render this and give the wireframe model some depth for a photo sim. What is the best way to do this? I have tried the extrude along path with sucess, unfortunately this model has over 1166 lines and this is just not a solution to do one by one. Ive tried selecting the similar components in an attempt to do a batch extrude so to speak, but doesnt seem to work. I have attached the file. Any suggestions would be great. This seems like it should be a rather simple task for VW. Quote Link to comment
Vectorworks, Inc Employee PVA - Admin Posted June 23, 2015 Vectorworks, Inc Employee Share Posted June 23, 2015 3D polygons aren't a great source, if this was already a 3D model, generally exporting from the source software to 3DS or DWG would work better than DXF. However, if you're stuck with a DXF, you can select these 3d polys then convert them to NURBS (Modify > Convert > Convert to NURBS) then ungroup the result and with all the NURBS selected, use Compose, this will attempt to join the hundreds of NURBS into single objects, which will reduce the amount of work needed to create extrude along paths with the desired profile for the tubing/pipes/wires you want to create. Quote Link to comment
HEengineering Posted June 23, 2015 Author Share Posted June 23, 2015 I am unfortunately stuck with the DXF. Though what you are saying sounds promising. I did attach the file. Did you have success with the model? Are you certain this is the best way, or just your best guess? Quote Link to comment
Vectorworks, Inc Employee PVA - Admin Posted June 23, 2015 Vectorworks, Inc Employee Share Posted June 23, 2015 Best guess. I tried this process with your file and got down to something like 86 NURBS as opposed to 1600+ 3D polygons. Quote Link to comment
HEengineering Posted June 23, 2015 Author Share Posted June 23, 2015 Might be a start. We had another gentleman here thinking we could possible create a script or plugin using 'Create objects from shapes" but Im not that well versed. Just thought while I got someone Id ask if there were any additional methods beyond what you described. Sounds like this could be the ticket tho. Quote Link to comment
HEengineering Posted June 23, 2015 Author Share Posted June 23, 2015 Another gentleman here thought maybe it would be possible with the plugin manager if we modified the "create objects from shapes" Were you able to select the entire model when you converted to nurbs? Quote Link to comment
Vectorworks, Inc Employee PVA - Admin Posted June 23, 2015 Vectorworks, Inc Employee Share Posted June 23, 2015 No, I had to select specifically the 3D polygons, there are already some portions that were converted to solids. I used the Select Similar tool (looks like a magic wand) from the Basic palette to select all the 3D polygons before I converted to NURBS, ungrouped then Composed. Quote Link to comment
HEengineering Posted June 23, 2015 Author Share Posted June 23, 2015 Once the nurb is created it still wont let me extrude along the path.x Quote Link to comment
Vectorworks, Inc Employee PVA - Admin Posted June 23, 2015 Vectorworks, Inc Employee Share Posted June 23, 2015 Post a file with what you ended up with and I can take a look. Quote Link to comment
HEengineering Posted June 23, 2015 Author Share Posted June 23, 2015 Weather I compose them, or ungroup them, seems to offer no advantage over the extrude along path when its a 3d poly vs a nurbs. Quote Link to comment
Vectorworks, Inc Employee PVA - Admin Posted June 23, 2015 Vectorworks, Inc Employee Share Posted June 23, 2015 The idea was to simplify the number of operations needed, also NURBS tend to create cleaner geometry when used as a base. However in this case, a complete conversion isn't really needed. The same pattern repeats itself in this tower over and over again, you should be able to create one "instance" of the framing pipe pattern, which would only be 5-8 extrude along paths done individually, then duplicate that set of extrudes up as tall as needed. Then create extrudes along the wires at the desired diameter, which I assume would be different than the pipes themselves. Basically a 3D trace of the object rather than trying to convert everything directly bit by bit. Quote Link to comment
HEengineering Posted June 23, 2015 Author Share Posted June 23, 2015 Seems far to time consuming for what the ultimate goal is. I was hoping for a few commands. Even if we simplified it down this workflow isnt gonna help. We have lots of towers. Some with different lengths and Id guess this alone would take a few hrs to get one tower built. I appreciate the help, but Im not sure there is a solution. Quote Link to comment
HEengineering Posted June 23, 2015 Author Share Posted June 23, 2015 I wasnt able to even get a portion of the nurbs to extrude along path. When I would compose 5-6 lines would join, however the extrusions doesnt come out correct. Quote Link to comment
Pat Stanford Posted June 23, 2015 Share Posted June 23, 2015 I think you should think about rebuilding the tower rather than trying to convert it to something that is not there. It looks like each of the sections of truss are the same. Most of them have 7 sections with the bottom one having 5. Either the top or bottom of each section has the "spacer" between sections. I would do the Extrude Along Path and create a symbol of one section and a symbol of one "spacer". Make a symbol that consists of 7 section and one spacer at an end. Duplicate Array this to get the overall height. Either create another symbol for the 5 high at the bottom or just use the original symbols. You will need to manually model the taper at the bottom. Benefit of this is that the symbols will render much faster than a model made of individual extrudes. Quote Link to comment
Bas Vellekoop Posted June 23, 2015 Share Posted June 23, 2015 Probably easier to just recreate/trace the tower and make some symbols of the different parts and copy those around with the move by point tool I made a little start, 10 min work. Should be do able in hour or so to build the complete tower (but maybe I'm missing something and you have to use the imported geometry?) Quote Link to comment
Bas Vellekoop Posted June 23, 2015 Share Posted June 23, 2015 (edited) Pat and Jim beat me, haha Edited June 23, 2015 by Buzz Lightyear Quote Link to comment
HEengineering Posted June 23, 2015 Author Share Posted June 23, 2015 All great suggestions guys, I was just hoping for a magic command. Everything you have stated is basically what Ive been attempting. This workflow works for a guyed tower because all the members are the same length. Any ideas for a lattice tower or a self support? take a look at this one. Quote Link to comment
rDesign Posted June 23, 2015 Share Posted June 23, 2015 Using SketchUp and a Ruby plugin I was able to extrude the edges of the SST.dxf pretty easily. Once I remembered how to properly use SketchUp it only took about 30 seconds of processing time. Not knowing what size members the SST would have, I extruded 4" diameter cylinders along each edge. I know that in real-life it might not be built with cylinders, but it should be good enough for a context view. I can go into more detail about which SketchUp plugin I used if you want. I would give the Guyed_Tower.vwx one a shot in SketchUp but it seems to be at an incorrect scale since the total height of it is about 15'-9", which doesn't seem correct. HTH. Quote Link to comment
AlanW Posted June 27, 2015 Share Posted June 27, 2015 Hi, Maybe similar but I created one section (Make symbol) of the tower and use copy move by points (100 or as needed) Very quick. HTH Quote Link to comment
AlanW Posted June 27, 2015 Share Posted June 27, 2015 (edited) Ok, I saw the DXF and you need something like this which i created using nurbs lines and extruded along path. I only created one side and mirrored the rest. With the tapering tower you could create the section and if you knew the proportion of the reduction you can scale the symbol down and copy it up with the scaled symbol each time. HTH Edited June 27, 2015 by Alan Woodwell Quote Link to comment
HEengineering Posted July 1, 2015 Author Share Posted July 1, 2015 Pat was nice enough to provide us with a script for this. We are all fairly new to the coding aspect of VW but Pat clearly knows what he's doing here. I would suggest his skills to anyone with a problem that they maybe can't solve. Great to have someone in the community like this. Quote Link to comment
AlanW Posted July 2, 2015 Share Posted July 2, 2015 Pat is always up for the challenge. I agree, there are lot of nice and helpful people here. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.