JSCAD User Group
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. faithhack
    3. Topics
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 5
    • Groups 0

    Topics

    • faithhackF

      Some thoughts on center

      Watching Ignoring Scheduled Pinned Locked Moved Development Discussions
      2
      0 Votes
      2 Posts
      1k Views
      z3devZ
      @faithhack thanks again for the feedback. the 'center' option has been added back to primitives. we want to define primitives using simple mathematics, which means center is required. for example, a circle is a shape consisting of all points in a plane that are a given distance from a given point, the center. hopefully, this brightens the day of a few folks.
    • faithhackF

      Is center() broken or am I?

      Watching Ignoring Scheduled Pinned Locked Moved General Discussions
      2
      0 Votes
      2 Posts
      1k Views
      faithhackF
      And the answer is... I'm broke I was treating the center({axes:[true, true, false]}, object) like the old object({center:[true,true,false]}) which is not the case since primitives are now created centered at [0,0,0] by default. Since the primitive is created centered by default at [0,0,0], changing the axes on a new part doesn't really have an effect. Picking a consistent default is probably the 'right thing(tm)' to do since the old primitives where very inconsistent - round things like cylinders and sphere where centered on X/Y but not Z and cubes where created with a corner at [0,0,0]. Hopefully new docs will have little warnings for those transitioning from V1 to V2 and maybe some helpful examples for porting old designs over.
    • faithhackF

      es2015-i18n-tag#1.6.2 packaging error tanks new V2 install

      Watching Ignoring Scheduled Pinned Locked Moved General Discussions
      1
      0 Votes
      1 Posts
      860 Views
      No one has replied
    • faithhackF

      A design projects template

      Watching Ignoring Scheduled Pinned Locked Moved General Discussions
      1
      0 Votes
      1 Posts
      1k Views
      No one has replied