JSCAD User Group

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. faithhack
    3. Topics
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by faithhack

    • faithhack

      Some thoughts on center
      Development Discussions • • faithhack

      2
      0
      Votes
      2
      Posts
      732
      Views

      z3dev

      @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.

    • faithhack

      Is center() broken or am I?
      General Discussions • • faithhack

      2
      0
      Votes
      2
      Posts
      773
      Views

      faithhack

      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.

    • faithhack

      es2015-i18n-tag#1.6.2 packaging error tanks new V2 install
      General Discussions • • faithhack

      1
      0
      Votes
      1
      Posts
      607
      Views

      No one has replied

    • faithhack

      A design projects template
      General Discussions • • faithhack

      1
      0
      Votes
      1
      Posts
      792
      Views

      No one has replied