Jump to content
Ethan R.

2D Polygon from 3D Sketch-Up Import

Recommended Posts

Hi all,

 

3dwarehouse is a goto spot for lots of symbols.

 

I'm able to import great 3D Meshes - but I want to create flat 2D versions for hybrid symbols.

 

I try all the "convert" commands - but nothing is quick.

 

Does anyone have a good workflow for this?

 

Thanks!
Ethan

Screen Shot 2017-10-19 at 11.57.37 AM.png

Share this post


Link to post

No quick solution to this. As an example, I took this fairly simple chair, and did as follows: 

 

1/  Original (left) (Symbol to Group if it's a symbol) -> Convert to Group -> Convert to Polygons with Hidden lines on. Generates many polygons. 

2/ Original (left) (Symbol to Group if it's a symbol) -> Convert to Group> Convert to Polygons with Hidden lines on-> Add Surface. Probably took longer than it took to model the chair in 3D.

3/ Original (left) (Symbol to Group if it's a symbol) -> Convert to Group -> Convert to Lines-> Ungroup-> Remove all inner lines-> Assemble using Compose or Combine into Surface. Takes a while but probably the best result. 

4/ Simply trace the model manually. Depressing but it works, though it is slow (probably more than the five or six minutes it took me to model the 3D original. 

 

KitchenChair.jpg

  • Like 1

Share this post


Link to post

Ok- so this would be a great addition to VectorWorks - considering the derth of existing .vwx models on the 'interwebs' 

 

- this is what I go through as well - annoying stuff.

 

thanks!
Ethan

Share this post


Link to post

Maybe try import Sketchup, Modify->Simplify Mesh (the chair I imported had 17k faces and I took it down to 2k faces to lighten the load), then Create Auto Hybrid?

 

  • Like 1

Share this post


Link to post

HMm - the "Create Auto Hybrid" is a tool I did not know about - interesting.


It seems to help a bit in the simplification process - will explore - thank you !

Screen Shot 2017-10-20 at 12.21.52 PM.png

Share this post


Link to post

Ok - Played with this a bit more - and it seems quite effective.

Initially there is a bunch of processing time to create the Hybrid Object - but once created, it reacts well.

 

Enclosed is my new 2d Model + the settings I used to reduce the number of faces.

 

I was able to convert to a Hybrid Symbol as well !

 

Thank you!
Ethan

 

Screen Shot 2017-10-20 at 1.16.39 PM.png

Screen Shot 2017-10-20 at 1.16.31 PM.png

Share this post


Link to post

Glad it helped, you can also convert the autohybrid to a group afterwards and eliminate some of the interior pieces, if you only wanted the silhouette, I think.

 

Share this post


Link to post
On 10/20/2017 at 3:21 AM, Claes Lundstrom said:

2/ Original (left) (Symbol to Group if it's a symbol) -> Convert to Group> Convert to Polygons with Hidden lines on-> Add Surface. Probably took longer than it took to model the chair in 3D.

 

Claes,

   When using Add Surface, I have found that limiting the selection to 200-400 objects is optimal for throughput. There appears to be an exponential slowdown based on the selection count. Waiting for 1000+ objects to ADD is intolerable for me, so I select small groups and Add Surface repeatedly. When done, I select the whole object and Add Surface again, but this is invariably a significantly reduced object count. If the resulting reduced object has over 1000 pieces, I'll carefully select contiguous pieces and add those.

 

  Using this approach I can be done with a 30k object count in under 5 minutes where VW night easily take 30 minutes to a few hours to complete in one pass.

 

Raymond

  • Like 1

Share this post


Link to post
19 hours ago, MullinRJ said:

 

Claes,

   When using Add Surface, I have found that limiting the selection to 200-400 objects is optimal for throughput. There appears to be an exponential slowdown based on the selection count. Waiting for 1000+ objects to ADD is intolerable for me, so I select small groups and Add Surface repeatedly. When done, I select the whole object and Add Surface again, but this is invariably a significantly reduced object count. If the resulting reduced object has over 1000 pieces, I'll carefully select contiguous pieces and add those.

 

  Using this approach I can be done with a 30k object count in under 5 minutes where VW night easily take 30 minutes to a few hours to complete in one pass.

 

Raymond

Yes, I totally agree that using thousands of polygons does not work. Ideally, it would be great to have a special display mode only showing outlines, like in OpenGL but without the shadings. I use the Add Surface, Combine into Surface, Compose features a lot as I often import models looking like this. Luckily for me though, the exporting program has an option to just export the outlines, where each panel comes in as a group. The only thing I need to do is therefore to ungroup and Compose the object and job done. Takes a minute or two of minutes to do the job. So, on the wish list in VW would be to have such a feature. 

KitchenChair.jpg

Share this post


Link to post
5 hours ago, Claes Lundstrom said:

Luckily for me though, the exporting program has an option to just export the outlines, where each panel comes in as a group. 

 

 

Hi Claes,

 

Which program are you using that has this option?  Is it sketch-up ?

 

TY

Ethan 

Edited by Ethan R.

Share this post


Link to post
On 2017-10-22 at 5:57 PM, Ethan R. said:

 

Hi Claes,

 

Which program are you using that has this option?  Is it sketch-up ?

 

TY

Ethan 

No it's not SketchUp (have it installed somewhere but never use it as it never adds anything to my work).

 

Besides that, my point is that it would be nice if VW could make use of the algorithms found in OpenGL for extracting edges. As an example, I imported this  3D polygon based model in the pictures into VW. All rendered in OpenGL only. No edges to the left. With edges in the middle. All colors set to white and increased the light a little to the right, and there we have a nice outline drawing at almost no effort. Imagine that we could compose those lines into plain filled polygons. 

OpenGL outlines.jpg

Share this post


Link to post

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...