# Search the Community

Showing results for tags 'vectors'.

• ### Search By Tags

Type tags separated by commas.

### Forums

• Announcements
• Announcements
• News You Need
• Job Board
• Feedback
• Wishlist - Feature and Content Requests
• Known Issues
• Wishes Granted / Issues Resolved
• General
• Troubleshooting
• General Discussion
• Architecture
• Site Design
• Entertainment
• Vision and Previsualization
• Braceworks
• Rendering
• Workflows
• Hardware
• Customization
• Marionette
• Vectorscript
• Python Scripting
• SDK
• 3rd Party Services, Products and Events
• Solids Modeling and 3D Printing
• Subdivision
• Solids Modeling
• 3D Printing
• Vectorworks in Action
• Archive
• Resource Sharing
• Machine Design

### Calendars

• Community Calendar

### Categories

• Knowledgebase
• Tech Bulletins
• Troubleshooting
• Workflows
• How To
• FAQs

### Categories

• Marionette - Objects
• Marionette - Networks
• Marionette - Nodes

• 0 Replies

• 0 Reviews

• 0 Views

Found 2 results

1. ## Zig-Zag from NURBS curve

Hello, I'm looking for some hits how to solve the following problem. I want to create a script that converts base curve (any Nurbs in 3D, green curve in the picture) into zigzag line around it, but on the same plane (red curve in the picture). I thought it might work in following steps: Base curve (green) -> Offest on both side -> divide curves into same number of points -> sorting points -> creating nurbs Curve based on sorted list But this fails on sorting step. I had other idea, using vectors: base curve (green) -> points on curve -> Perpendicular Vectors from these points -> every 2nd Vector turn -180deg -> move point along vectors in both directions -> creating nurbs Curve based on moved points But I don't know how to create adequate Vectors in 3D. I will most grateful for any help/hints how to solve this.
2. ## Converting two points to a vector

Having trouble getting vectorscript functions that require a vector as parameter to work properly. In the snippet of code below, I think that ang should equal 45°. But the dialog tells me -90° and then I get the error shown in the attached file: pt= [1,1] ang = vs.Vec2Ang(pt) vs.AlrtDialog(ang)