Close



Results 1 to 10 of 31

Threaded View

  1. #27
    Technologist
    Join Date
    Jan 2015
    Location
    Waterloo, ON, Canada
    Posts
    159
    Add truly_bent on Shapeways
    Roxy;

    Did the OpenJsCad people get back to you on that bug you reported about the screwthread_v2.scad file not working in the OpenJsCad interpreter? If not, i think i may have found the "bug". From the OpenJsCad manual:

    "An OpenSCAD (.scad) translator & importer is included in OpenJSCAD, following features aren't working yet:
    - DXF import and manipulation (e.g. import_dxf, dxf-cross, dxf_dim functions).

    - rotate_extrude() (Note: OpenJSCAD supports rotate_extrude() )
    - minkowski() and hull() transformations (Note: OpenJSCAD supports hull() )
    - $fa, $fs global variables.
    - Modifier characters: #, !, %"


    Turns out that the screwthread_v2.scad program has a hull() transformation:
    ...
    for(i=[0:step:360-step])
    hull()
    for(j = [0,step])
    rotate([0,0,(i+j)])
    translate([D_maj/2,0,(i+j)/360*P])
    screwthread_triangle(P);
    ...

    I expect the translate() function is the culprit, but it could also be the rotate(). Have to dig a little deeper to be sure.
    Last edited by truly_bent; 01-13-2015 at 06:47 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •