List of entities and organisation ?
- 
 Hello, Do you know if there is a schematic/list of the SketchUp geometrical entities and of their relationships? For example : ArcCurve (arcs and circles) is a subclass of the Curve class, and an edge is a part of a random curve if edge.curvereturn a curve, and a part of an arccurve ifedge.curvereturn an arccurve.Best regards, 
 Renaud.
- 
 
- 
 The new docs (work in process) will make the class hierarchy clearer: http://ruby.sketchup.com/ 
- 
 And this diagram is a bit out of date. (There are some missing classes, and perhaps changes since it was drawn back in the v7 and v8 days.) http://www.sketchup.com/intl/en/developer/docs/diagram.php 
 Also,... @iltis said: For example : ArcCurve (arcs and circles) is a subclass of the Curve class, and an edge is a part of a random curve ... Implies an incorrect assumption. The SKP document object hierarchy (ie, the model database tree) is a wholly separate construct than the Ruby class hierarchy and relationships. For example, the Sketchup::Edgeclass is not a sub-class of theSketchup::Curveclass. Both, are descendants of theSketchup::Entityclass.Sketchup::CurveandSketchup::ArcCurveobjects are special collection classes that connect edges together, but are not themselves an actual "model element".Sketchup::Edgeobjects are an actual model element, and so are a sub-class ofSketchup::Drawingelement.
Advertisement




 
                             
                             
                             
                             
                             
                             
                            