Contents

Overview / Concepts
Get Polygons
Set Polygons
Edges by Orientation
Get Edges by Size
Set Edges by Size
Selection Sets
Notes

Architectural Selection Tools v0.7 Help

Overview -

AST was written to help in working with editable poly objects on architectural models. It replaces "poly size selector". It allows selection of polygons by their size, and edges by their length and orientation.

Concepts -

Read the sizes of the polygons on your model using Get Polygons.
Select polygons on your model using Set Polygons.
Select edges based on their orientation in X, Y and Z.
Read the sizes of the edges on your model using Get Edges by Size
Select edges on your model using Set Edges by Size.

Get Polygons -

This group allows you to read the sizes of polygons on your model.

Current shows the size of the currently selected polygon, or the average size if you have more than one selected.

Previous shows the size of the previously queried polygon.

Upd (Update) will update the figure in the Current slot with the size of the current poly selection, and will shunt the old figure into the previous slot.

Min/Max These buttons put the value of the spinner next to them into the appropriate slot in Set Polygons - see below.

Tolerance allows you to select a tolerance around the value in the Current spinner to put into the Min/Max slots in Set Polygons. For example, if Current shows 100 and the Tolerance is on 10, when you hit Set, the min and max values in Set Polygons will be 90 and 110, respectively. This is useful for selecting polygons of a similar size to the current one quickly.

Set updates the min/max values in Set Polygons based on the Tolerance specified.

Set Polygons -

This group allows you to select polygons on your model within the given size range.

Min Size is the minimum size of polygon that will be selected. Any polygon smaller than this will not be selected.

Max Size is the maximum size of polygon that will be selected. Any polygon larger than this will not be selected.

Note: To stop the numbers in the spinners getting too large, all area size spinners show the square root of the actual area of the polygon, e.g. a polygon that is 10mm x 10mm will have an actual area of 100mm, but will be displayed as 10.

Sel filters the polygons you currently have selected, and selects only the polygons that are within the min/max range, deselecting the rest.

All filters the whole object, and selects all polygons within the min/max range.

Edges by Orientation -

This group allows you to select edges based on their orientation in world space.

Vertical Edges are referred to Z-Edges, Those oriented in X and Y as X-Edges and Y-Edges respectively.

Tol for each of the orientations specifies how many degrees away from the cardinal direction you wish to select. By default this is set to 0.01, so you will only select edges that follow the cardinal directions precisely. A value of 10 in Z-Edge would select any edge in a cone of 10 degrees around vertical.

Sel filters selected edges and only selects those that fall within the orientation toerance entered.

All will filter all edges in the object and select those that fall within the tolerance.

See below for examples of usage.

Z-Edge = 0.01
Y-Edge = 0.01

X-Edge = 0.01

Diagonal lines are not selected.

X-Edge = 40.0

Note that the diagonal edges are now selected as they are within 40 degrees of X.

Get Edges by Size -

This group allows you to select edges on your model within the given size range.

This section works much the same way as the one for polygons. The length of the edges are measured in world units.

Current shows the size of the currently selected edge, or the average size if you have more than one selected.

Previous shows the size of the previously queried edge.

Upd (Update) will update the figure in the Current slot with the size of the current edge selection, and will shunt the old figure into the previous slot.

Min/Max These buttons put the value of the spinner next to them into the appropriate slot in Set Edge by Size - see below.

Tolerance allows you to select a tolerance around the value in the Current spinner to put into the Min/Max slots in Set Edges by Size. For example, if Current shows 100 and the Tolerance is on 10, when you hit Set, the min and max values in Set Edges will be 90 and 110, respectively.

Set updates the min/max values in Set Edges by Size based on the Tolerance specified.

Set Edges by Size -

This group allows you to select edges on your model within the given size range.

Min Size is the minimum size of edge that will be selected. Any edge shorter than this will not be selected.

Max Size is the maximum size of edge that will be selected. Any edge longer than this will not be selected.

Sel filters the edges you currently have selected, and selects only the edges that are within the min/max range, deselecting the rest.

All filters the whole object, and selects all edges within the min/max range.

Polygon Selection Sets -

This group allows you to save and reselect polygon selections in your model.

Set saves the current polygon selection into one of the slots.

Get reloads the selection.

Note that this currently only works for polygons, not edges.

Notes -

AST only works on Editable Poly objects. I have no plans to add editable meshes at this time. The script will only run if you have an editable poly object selected.

Due to the fact that figures will be rounded when they are in the spinners, you may need to nudge the Min figures down slightly and the Max figures up slightly to collect all the polygons/edges you need.

Edge operations will still work when in polygon mode, but you will not see the effects until you change into edge mode, and vice versa.

I plan on adding polygon selection by orientation.

If you find any problems with this script, or think of something that you think would improve it, please email me.