-
- Always look for the official documentation, this tutorial may not suit you as there are new updates to the installation process.
- References are at the end of the document.
-
- Windows 11 (
x64) - WSL 2 (
Ubuntu 22.04.2 LTS)
- Windows 11 (
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Your code here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Your code here |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CSG motor = Vitamins.get("hobbyServo", "standardMicro") | |
| // Vitamins.get("hobbyServo", "standardMicro") Vitamins.get("stepperMotor", "GenericNEMA14") Vitamins.get("roundMotor", "WPI-gb37y3530-50en") | |
| CSG motorShaft = Vitamins.get("hobbyServoHorn", "standardMicro1") | |
| // Vitamins.get("hobbyServoHorn", "standardMicro1") Vitamins.get("dShaft", "5mm") Vitamins.get("dShaft", "WPI-gb37y3530-50en") | |
| double pitch = 3.0 | |
| double thickness = 10.0 | |
| double gearDiameter = 30.0 | |
| double gearTeeth = (gearDiameter * Math.PI) / pitch | |
| def gearGenResult = ScriptingEngine.gitScriptRun( | |
| "https://github.com/madhephaestus/GearGenerator.git", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import eu.mihosoft.vrl.v3d.Extrude; | |
| CSG part = new Cube(10).toCSG() | |
| ArrayList<CSG> parts = new ArrayList<CSG>() | |
| int numParts = 10 | |
| for(int i=0;i<numParts;i++){ | |
| //println scale | |
| parts.add(part.clone()) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| return new Cube( 40,// X dimention | |
| 60,// Y dimention | |
| 80// Z dimention | |
| ).toCSG()// this converts from the geometry to an object we can work with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| double rad =2 | |
| def base = new Cube(20).toCSG() | |
| .difference(new Cube(5,10,20).toCSG()) | |
| .difference(new Cube(10,5,20).toCSG()) | |
| .rotz(5) | |
| .toZMin() | |
| List<Polygon> polys = Slice.slice(base) | |
| return [Fillet.outerFillet( base,(double)rad),polys] |
If you try to untrash a file which needed admin permissions to trash in the first place, you get this error:
julia> Trash.untrash(l[end-3])
ERROR: IOError: open("D:\\unit 8 ssd benchmark.txt", 769, 33206): permission denied (EACCES)
Stacktrace:
[1] uv_error
@ .\libuv.jl:106 [inlined]OlderNewer