Jump to content
Developer Wiki and Function Reference Links ×

Layer Plane objects in 3D


BillW

Recommended Posts

Working with layer plane objects (ie 2D loci, rectangles etc) can be tricky to code. Find enclosed a code snippet for converting a 2D locus to a 3D symbol which may be useful. The code shows how transformation is done.

 

2D objects can be placed on a face by setting the working plane to the face (or use dynamic placement by typing backslash '\') and then placing the object.

 

VW file is 2023. Code in text file. Note 3D loci are always aligned to the world axis. Also, layer base height would need to be taken account of currently. In this example layer base height is zero.

 

2Dlocusorientation.thumb.png.594e30a052dbfa43d211dc94c10dc84c.png

2D locus orientation.vwx 2D locus orientation.txt

Link to comment

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.

×
×
  • Create New...