Message 1 of 6
Script misbehaves, scale wrong by 10x.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I needed a real spiral, so I used the trick of making a set of points in a spreadsheet and importing the .csv file to make a spline using the provided script. I used the Python one, because the Javascript one alway fails with a misspelled error something like "0 ponit length".
This works great, except that the size is off by being a factor of 10 too big. Reading the script, which is pretty simple, doesn't show any reason why this should be so. The problem has to be inside something this script calls. So, I can't fix it.
I finally built the object as enlarged then scaled it down by 10, which is a workaround, but it's not handy. Seems like this ought to be easy to fix and ought to be fixed.
Also it seems weird that there's no way to scale an item in a sketch. You can only scale the whole sketch, and I didn't discover that even for a long time, so I had to build a solid 10x too large in order to have a solid object that could be scaled down to size!
These scripts look like really useful tools. I'll look at more of them to see if there's enough info to make it possible for me to solve some of my problems by writing scripts. I assume there's not much documentation on the Python interface yet, but I may assume wrongly...