• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

List of entities and organisation ?

Scheduled Pinned Locked Moved Developers' Forum
4 Posts 4 Posters 855 Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I Offline
    Iltis
    last edited by 12 Aug 2016, 09:05

    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.curve return a curve, and a part of an arccurve if edge.curve return an arccurve.

    Best regards,
    Renaud.

    1 Reply Last reply Reply Quote 0
    • T Offline
      TIG Moderator
      last edited by 12 Aug 2016, 12:06

      http://www.sketchup.com/intl/en/developer/docs/classes.php

      TIG

      1 Reply Last reply Reply Quote 0
      • T Offline
        thomthom
        last edited by 16 Aug 2016, 19:06

        The new docs (work in process) will make the class hierarchy clearer: http://ruby.sketchup.com/

        Thomas Thomassen — SketchUp Monkey & Coding addict
        List of my plugins and link to the CookieWare fund

        1 Reply Last reply Reply Quote 0
        • D Offline
          Dan Rathbun
          last edited by 16 Aug 2016, 20:14

          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::Edge class is not a sub-class of the Sketchup::Curve class. Both, are descendants of the Sketchup::Entity class. Sketchup::Curve and Sketchup::ArcCurve objects are special collection classes that connect edges together, but are not themselves an actual "model element". Sketchup::Edge objects are an actual model element, and so are a sub-class of Sketchup::Drawingelement.

          I'm not here much anymore.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            2/4
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement