Talk:CEB Press v16.09/SCAD Files/Parametric: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
Line 7: Line 7:
what do 3D printers use for their auto layout calculations? does Aleph Objects have an open source tool?
what do 3D printers use for their auto layout calculations? does Aleph Objects have an open source tool?


 
*OpenSCAD variable limitations seem to be a roadblock to doing automatic CNC layout within OpenSCAD
**Probably just need to focus on finding CNC program with auto layout
**Might be an okay idea to have a master layout file just to review the parts in the same file.
***convert from .scad to .dxf


  <nowiki>
  <nowiki>

Revision as of 01:30, 28 June 2017

work in progress

  • focusing on the drawer first and then out from there --Dorkmo (talk) 02:24, 15 June 2017 (CEST)

CNC part layout

what do 3D printers use for their auto layout calculations? does Aleph Objects have an open source tool?

  • OpenSCAD variable limitations seem to be a roadblock to doing automatic CNC layout within OpenSCAD
    • Probably just need to focus on finding CNC program with auto layout
    • Might be an okay idea to have a master layout file just to review the parts in the same file.
      • convert from .scad to .dxf

a=0;
if (a==0) 
  {
 a=1; //  before 2015.03 this line would generate a Compile Error
      //  since 2015.03  no longer an error, but the value a=1 is confined to within the braces {}
  }

 
  • after component is placed in position add its y value
"These variables and their values are also available to further inner scopes created within this scope, but are not available to any thing outside this scope. Variables still have only the last value assigned within a scope."
"For() loops are not an exception to the rule about variables having only one value within a scope. A copy of loop contents is created for each pass. Each pass is given its own scope, allowing any variables to have unique values for that pass. No, you still can't do a=a+1;"
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/General#Scope_of_variables
  • not sure how to do thi but maybe something as follows
    • stack componets in the Y direction in one scope
    • stack the groups of componets in the Y direction along the X axis