Jump to content

OpenSCAD plugin (official thread)


thopiekar

Recommended Posts

  • 1 year later...
Posted · OpenSCAD plugin (official thread)

Could be a great Plugin if it was possible to load a Scad File. But with every SCAD file ( Except the sample file present in your source code) I always get the same Message  :  File Not valid ! . 

Even with a basic Script (A calibration cube creation)  I've got an error message and this script is not very different from the sample file.

// Calibration cube 20x20
font = "Arial:style=Bold";

cube_size = 20;
letter_size = 10;
letter_height = 2;

o = cube_size / 2 - letter_height / 2;

module letter(l) {
  color("Yellow")
  linear_extrude(height = letter_height) {
    text(l, size = letter_size, font = font, halign = "center", valign = "center");
  }
}

difference() {
  color("gray") 
  cube(cube_size, center = true);
  translate([0, -o, 0]) rotate([90, 0, 0]) letter("X");
  translate([o, 0, 0]) rotate([90, 0, 90]) letter("Y");
  translate([0, 0, o])  letter("Z");
}

Note this script run fine on OpenSCAD version 2019.05 . Herewith the script and the STL generated from OpenSCAD

CalibrationCube.scad.zip CalibrationCube.stl

  • Link to post
    Share on other sites

    Posted (edited) · OpenSCAD plugin (official thread)

    Oup's ... finally it was just an issue of PATH declaration on my computer.

    It works now !  (With basic file still have issue with some advanced SCad)

     

    Edited by Cuq
  • Link to post
    Share on other sites

    Posted · OpenSCAD plugin (official thread)

    Tips & Tricks : Using the OpenScad interface and the basic 'Text' function to create rapid custom support, without too many CAD effort.

     

    // Support text
    // Support V Y E
    TextParam = "Y"; //  Text
    
    Text_Size = 12;  //  Text size
    Text_Thickness = 4;  //  Text thickness
    Radius = 0.5;  //  Text radius
    fnt = "Arial:style=Regular"; //  Police texte
    $fn=100;
    
    color("Red")
        minkowski() {
            rotate([90,0,0]) {
            linear_extrude(height = Text_Thickness) {
            text(text = TextParam, size = Text_Size, font = fnt );
                }
        }
    	cylinder(r=Radius,h=0.5);
    }

     

    Using Letter : Y, V, E

    Lettre.JPG

  • Link to post
    Share on other sites

    Posted · OpenSCAD plugin (official thread)

    I tried to install this plugin, but unfortunately it doesn't work for me (appeared as disabled after Cura restart).

    I have some program skills. How to participate in the development?

    image.thumb.png.4cea27b6c99228b32aee1e73d97b63d7.png

  • Link to post
    Share on other sites

    Posted · OpenSCAD plugin (official thread)

    I have installed the plugin and it seems to work. Looking for documentation I am not finding much of anything. I want to know are there actual benefits. Is this simply automating going from a scad file, through creating a mesh and if so what format of mesh? Does this actually reduce the probability of mesh defects?
    I installed this without paying anything but when searching I come across statements that CAD integration involves payment. Is there an exception for OpenSCAD? Am I just using a trial? Is this from a different source?

     

  • Link to post
    Share on other sites

    Posted · OpenSCAD plugin (official thread)

    The CAD integration that Ultimaker offers for paying customers does not require the original CAD package to be installed.

     

    Other developers are free to create plugins to integrate with CAD applications. @thopiekar wrote a set of plugins that work with different CAD applications installed on the same system to automate the conversion and importing of models using those CAD packages. Those are entirely free to use. But they don't come with support from Ultimaker.

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
        • 3 replies
    ×
    ×
    • Create New...