Equi Space, Dynamic Component?
-
Dynamic Interval Display.skpI was wondering if someone knowledgeable of Dynamic Components could create a Cube that would display intervals of equal spaces?
Here is what I had in mind. User would input how many intervals to display along the Blue Axis, along the Red Axis , and along the Green Axis of a cube. The size of the cube could be entered or use a default of 1unit x 1unit x 1unit. If the cube is scaled, the intervals would scale accordingly.
The beginning and ending of each interval would be indicated with a Guidepoint.
An input of "1" would display a guidepoint at the corners of a plane.A ruby script could probably accomplish something similar, but I thought the Dynamic Component Options dialog would be more convenient for user input.
The component could serve as a simple, generic layout tool for spacing geometry, creating stairs, spacing furniture in a room, etc., in combination with the Move tool and inference snapping.
The image below shows two cubes of guidepoints that have been manually rescaled.
-
Try this, John.
"loose" Points can't be used as such for this DC, so I had to create Groups which contain a single Point instead.
You can scale the component, and enter interval values in the DC Options dialog.
It misbehaves if you set any of the intervals to zero, so watch that until I find a fix.
-
Hi Jim,
Thank you.
I did a few changes. I tried changing the order of the Red and Blue Units fields to match the order of the Total Length fields but couldn't find a way to do this.
Per the above examaple, is it possible to display the Until Length (it would not be a entry field)?
-
No problem, John. Try this one.
Also, would it make more sense of the attributes were grouped by axis? For example:
Red
Units: 12
Length: 12
Unit Length: 1
Blue
Units: 12
Length: 12
Unit Length: 1
...Also, your image shows the Y axis reversed - I can reverse it if that is better.
-
Hi, Jim:
Yes,it would make it easier to read if organized the way you have shown above.
I tested the your latest version on my laptop. I noticed that if I select the component and manually scale it, the totally length does not update. If re-enter a value in the dialog and press enter or click the Apply button, then all fields update correctly. In one of the previous versions of the component I believe the total length would automatically update. I have been having some performance issues with my laptop so maybe that is the issue?
Advertisement