Parametric Objects in B-processor
Monday, May 24th, 2010The first attempts to create curved objects in B-processor lead to the following conclusions:
- Any curved object will need a series of input parameters usually called control vertices, control polygon or control mesh
- This input is used to compute the curve from an algorithm
- There is a desire to change the parameters after the curve was computed. This means the object should provide the flexibility to redraw itself once an input parameter changed.
It was discussed that this problem could be described more generally as a parametric object providing the following functionality and parameters:
- The object is a group of elements: geometrical input, additional parameters, a script (i.e. the algorithm computing a curve) and the resulting geometry
- The script would be run each time of the input parameters (geometrical or additional) is changed.
- Rerunning the script recomputes the resulting geometry. In the case of B-processor this means to delete the previous result and redraw the geometry. It was discussed to only redraw local changes instead of the complete geometry but this will rather be a later optimization.
- All element parts are organized within the object browser as children of the main geometry object, allowing the user easy access.
- The geometry parameters of the object will be realized using the existing B-net functionality.
- The attached scripts should be Java scripts to allow full functionality and access to all methods and properties. In a second step a scripting languages “B-script” could be implemented, allowing the creation of simple scripts.
- The object should be set up very flexibly, i.e. an object should be allowed to create new objects or being the input for other objects (lofts, sweeps…)







