Giter Site home page Giter Site logo

Comments (5)

nohkumado avatar nohkumado commented on May 25, 2024

ok, finally understood some part of it... Rrot is the inner radius of the thread and just afterwards there is Dsupport as diameter of the inner circle of the thread.... and that leaves me puzzled? why the need to specify both? since one is 1/2 of the other??

from threadlib.

nohkumado avatar nohkumado commented on May 25, 2024

well....
now it displays in prerendering as it should but doesn't compile:
ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion violation! Expr: e->incident_sface() != SFace_const_handle() File: /usr/include/CGAL/Nef_S2/SM_const_decorator.h Line: 330

aussenradius = 50;
19 MY_THREAD_TABLE = [
20 ["M48p8-ext", [8, 19, 38, [[0, -3.8], [0, 3.8], [5, 0.3], [5, -0.3]]]],
21 ["M48p8-int", [8, -23, 45.0, [[0, 4], [0, -4], [4.9, -0.6], [4.9, 0.6]]]],
22 ];
28 nut("M48p8", h = aussenradius/2, Douter = aussenradius,table=MY_THREAD_TABLE);

what's going wrong?

from threadlib.

adrianschlatter avatar adrianschlatter commented on May 25, 2024

I think you'll find the help you need in the docs: Read the markdown (.md files) in the docs subdir. The specification of the THREAD_TABLE contents is here.

from threadlib.

nohkumado avatar nohkumado commented on May 25, 2024

neat ev a pointer from the first page on it could be helpful?

still..... i don't get it to work for the -int....
schraubend = 40;
tol =0.5;

MY_THREAD_TABLE = [ 
  ["M48p8-ext", [8, .99*(schraubend-tol)/2, schraubend-tol,    [[0, -3.8], [0, 3.8], [5, 0.3], [5, -0.3]]]],
  ["M48p8-int", [8, 1.02*(schraubend+tol)/2, (schraubend+tol), [[0, 4], [0, -4], [4.9, -0.6], [4.9, 0.6]]]],  
];
    specs = thread_specs("M48p8-int", table=MY_THREAD_TABLE);
    P = specs[0]; Dsupport = specs[2];
    H = (26) * P ;
    turns = (schraubend+tol)/P-1;
  thread("M48p8-int", turns =  turns, table=MY_THREAD_TABLE);

//difference()
//{
cylinder(d=1.5*schraubend, h=25);
// translate([0,0,-1])cylinder(d=Dsupport, h=27);
//}

as soon as i add the cylinder, it won't compile with the CGAL Error?
any idea?

from threadlib.

adrianschlatter avatar adrianschlatter commented on May 25, 2024

Looking at the internal thread spec, I believe there will be a problem because the thread will just touch itself after one full turn ([0, 4] to [0, -4] spans a distance of 8, the pitch is 8 as well). [0, 3.9], [0, -3.9] would avoid that problem.

from threadlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.