Jump to content
Niels Timmer

How to determine if a line intersects a 3D object

Recommended Posts

Hi all,

 

In my model I have a straight three dimensional line (3D polygon) and a solid object (extrude or generic solid, for example).

Does anyone know how I can determine if the line intersects/crosses the 3D object?

 

I hope someone can help.

 

Best regards,

Share this post


Link to post
Posted (edited)

Seems like VW does not offer a function but you could try this hack:

 

- Convert the line into a temp. Solid (extrude along path)

- Intersect it with the other solid:  http://developer.vectorworks.net/index.php/VS:IntersectSolid

 

 By the error you should be able to tell if the objects intersect.

 

regards,

Patrick

Edited by PatW

Share this post


Link to post

I managed to make a working Marionette example. The network checks if a three dimensional line intersects a NURBS surface. Marionette Network can be found here:

 

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...