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.7 stable released
        Cura 5.7 is here and it brings a handy new workflow improvement when using Thingiverse and Cura together, as well as additional capabilities for Method series printers, and a powerful way of sharing print settings using new printer-agnostic project files! Read on to find out about all of these improvements and more. 
         
          • Like
        • 7 replies
      • S-Line Firmware 8.3.0 was released Nov. 20th on the "Latest" firmware branch.
        (Sorry, was out of office when this released)

        This update is for...
        All UltiMaker S series  
        New features
         
        Temperature status. During print preparation, the temperatures of the print cores and build plate will be shown on the display. This gives a better indication of the progress and remaining wait time. Save log files in paused state. It is now possible to save the printer's log files to USB if the currently active print job is paused. Previously, the Dump logs to USB option was only enabled if the printer was in idle state. Confirm print removal via Digital Factory. If the printer is connected to the Digital Factory, it is now possible to confirm the removal of a previous print job via the Digital Factory interface. This is useful in situations where the build plate is clear, but the operator forgot to select Confirm removal on the printer’s display. Visit this page for more information about this feature.
          • Like
        • 0 replies
    ×
    ×
    • Create New...