Script Request/Idea - MultiConstruction lines
-
Many years ago I worked on GDS, it had a wonderful feature(s) called RuleX, RuleY and RuleA.
You could type RuleX 0 300 5400 150 2000 300 and get a horizontal line(X) at the point that you clicked, 300mm up from that, 5400mm up again, 150 up again etc.
RuleY was the same but produced vertical lines and RuleA required 2 clicks and produced lines aligned with those 2 points.You could type negative numbers to produce lines going in the opposite direction.
You could get distances to repeat, for example RuleX 0 100 200 100r5 300 would produce lines at 0,100,200,100,100,100,100,100,300.
Could a ruby make use of the ruler in SU to do such a script(s) RuleX, RuleY, RuleZ & RuleA ?.
Could it be one command, as in click on a line and then a direction, or 2 clicks to establish a base line and then a third to establish a direction?Just a thought.
-
There are already several Rubies out there that make grids of clines at XY (and Z) spacings - grid.rb, 3d_grid.rb, numbered_grid.rb etc. There's also a parametric 2D version you can adjust later on - think that's on SUp site ?
Search in Didier's Ruby Library Depot site...
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đź’—
Register LoginAdvertisement