Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    jmeosbn
    @jmeosbn
    Hello LogoBot architects!
    jmeosbn
    @jmeosbn
    So, to test the syntax highlighting, would this be a handy utility in OpenSCAD?
    // show cross section
    module section()
    {
        size=1000;
        difference() {
            children();
    
            color("white")
            translate([0, -size/2, 0])
                cube(size, center=true);
        }
    }
    Hmm, syntax support, is a bit different to github..
    Axford
    @Axford
    Nice idea and yes... Want to add it to a utile script
    Utils script
    jmeosbn
    @jmeosbn
    Cool, will do - I'll also use it for the LED clip sandbox. Although, after some discussion we'll probably go another way on that (support a vertical light "strip", from the base or battery holder?)
    (Will summarise more fully on the group topic)
    jmeosbn
    @jmeosbn
    Add a new file in utils/ or add to moreShapes.scad?
    Axford
    @Axford
    Add to more shapes if you like and cool
    jmeosbn
    @jmeosbn
    PR sent: when I understand how to mess with vectors I'll add some arguments. (size is easy to add, but should probably be the second arg?)
    Axford
    @Axford
    Would be nice to pass the section plane as a parameter
    jmeosbn
    @jmeosbn
    Yes, that's what I meant by vector. Feel free - or show me how. ;)
    I had previously tried this with my header spacers - basically, I want to multiply the arguments to a transform, using a vector. Or something like that!
    transform_var = vector_arg * [size/2, size/2, size/2]
    where vector_arg in the default case, would be something like [0, -1, 0]
    jmeosbn
    @jmeosbn
    I actually have the size/2 negated, which makes more sense - but I mistyped above. So, the arg is more like [0, 1, 0].

    But it doesn't seem like OpenSCAD supports this higher level use of arrays/vectors - and I don't want to loop through them when there's probably a simpler way to do it.

    For my earlier use, I wanted a rotation - so I just went with passing in rotation as degrees but that was a bit unelegant. I guess there should be some source that shows a similar use for built-in modules that take a vector.

    Axford
    @Axford
    I'll draft something tomorrow... Chillaxing with some TV tonight :)
    jmeosbn
    @jmeosbn
    Cool, I'm about to be too. Quick question if you do see this: can you 3d print over an arch? Like below:
    a.png
    Axford
    @Axford
    Ish... Depends on the span at the top of the arch.. It's effectively an unsupported bridge
    jmeosbn
    @jmeosbn
    Hmm.. What'd be a better shape to use, a sharp angle of <= 45° I s'pose?
    Axford
    @Axford
    Yep... The infamous reprap teardrop
    jmeosbn
    @jmeosbn
    Not heard of that before - but I'd imagine it crops up a lot..