Park Generator 0.4.0, Rays Rule

New Rules Rays rule – ‘ray’-like partitioning of the input region Entrance positions need to be given as a list parameter, which informs where on the boundary the entrances should be placed. Changes New match condition, border – boundary-touching regions are selected. Technical Details Tested using Shape Fitting plugin – a Quad is provided in conjunction with […]

Edge Placement Selection

NOTE currently scatter and place rules use different discreet selectors. Most basic discrete selection is just a list of parameter values on the range [0, 1]: [pos1, pos2, … posn] One can also specify the interval between the items: [item_offset] It is possible to specify start offset [offset_start : item_offset] Or end offset: [item_offset : […]

Shape Fitting 0.2.0

Shape Fitting is a simple SketchUp plugin that finds a simpler shape with fewer vertices from an input shape with many vertices. Plugin originates from one functionality of Park Generator, which was employed when the initial input region had to be mapped to a quad somehow before Grid rule can be applied to it. The quad area […]

Rays Rule

Partitions input region using straight path segments in the manner of ‘rays‘. Intersections of ‘ray’ segments with each other are called junctions, and intersections at iregion boundary – entrances. Delaunay Triangulation is used (related to Voronoi Diagram, which is its dual). Entrances (boundary intersections) are determined by the list of boundary parameters or selections. Junction placement (ray […]

Select Rule

Re-write incoming geometry to a different set of labels. select { RegionList } RegionList – label selector list, list of selector expressions applied on the input shape. No geometry is modified, only labels are assigned and attributes set. The purpose of this rule is to remove redundancy of repeating the same operations on one label in different selector blocks, for instance: […]

Cells Rule

Partitions input region into more natural looking “cell-like” quarters that resemble biological cells. Voronoi Diagram partitioning method is used. Sample radius determines centre of a cell: cells(radius) { RegionList } { PathList } { JunctionList } Alternatively number of samples can be requested and radius best matching radius will be guessed (this is currently a not very accurate procedure): cells(number_of_samples) […]

Park Generator 0.3.0, Cells Rule

 New Rules Cells rule – natural looking region partitioning (pictures above) smoothing X and Y junction symmetry Select rule – rewrite labels without modifying input geometry. Changes 01indexing modulation when attribute “selection_internal_minimal” is set (not equal to 0) – no boundary-touching edges are included in inner selection insert operator the second parameter changed to weight (from the number […]

Park Generator 0.2.0, Stochastic Selectors

General Changes Stochastic selectors Place rule – single CENTRE parameter placed shape in the middle of the region Attributes could be set using values of other attributes for instance set(a, 20) set(b, a) new attribute “elevation” specifies the amount to extrude upwards (push/pull) new type attribute “border” – sets stone-like material to the region and elevates 6 units up Scatter rule […]

Park Generator 0.1.0

General Changes Insert rule as a standalone rule Two new park examples demonstration of Place, Peel and Insert rule use fountain component added Two new region type attributes: “bushes” – set to get bush-like park region “loam” – for placement of trees and flowerbeds; default type for inserted regions. Grammar Changes set operator – insert/update attribute insert operator […]

Boundary Range Selection

Boundary Range Selection List Selection1 Selection2 … SelectionN Selectioni – Selection Entry, can be one of the following: Ranged Selection Special Selection Named Selection Ranged Selection Range selection is the most basic type of (range) selection that simply specifies subset of boundary range parametrised on the range [0..num_edges]: [lower, upper] lower, upper – values within without boundary […]