timmaxw / os2cx Goto Github PK
View Code? Open in Web Editor NEWIntegrating OpenSCAD with CalculiX
Integrating OpenSCAD with CalculiX
Thanks for developing this awesome code to integrate OpenSCAD with Calculix. I was trying to replicate an old experiment by J. D. Stachiw with acrylic viewports, and wanted to perform calculations over a range of thicknesses and diameters, then capture all this into a CSV file for graphing and then compare with the actual real world measurements. https://github.com/waynepiekarski/openscad2calculix4stachiw
However, it seems like only the GUI is able to calculate and display the maximum deflection or any other values, but this requires the user to manually read the value. For automating in scripts, it needs to be in the console binary as well.
It seems like console support for printing out the deflection is not available. I copy and pasted a few things from the GUI code to make it work and have included a github commit below that contains this if anyone is interested in using it. But this might be something to add in a future version:
waynepiekarski@f290585
Is it running with more actual versions of openscad and calculix?
The exception is: OpenSCAD2CalculiX: ../../os2cx/core/mesher_tetgen.cpp:114: void os2cx::transfer_attrs(const os2cx::Plc3&, os2cx::Mesh3*): Assertion 'vertex.point == node->point' failed.
nathan@nathannew:/mnt/c/Users/nathan/Downloads/os2cx/gui$ ./OpenSCAD2CalculiX
then in the GUI I opened this file in this repo's root (openscad2calculix.scad
), and then in the terminal I see:
Scanning OpenSCAD file...
Error in OpenSCAD file:
Please specify an os2cx_analysis_...() directive.
D3D12: Removing Device.
Segmentation fault
this is WSL running ubuntu:
uname -a
Linux nathannew 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Dear Tim,
I'm trying to develop CalculiX organization on the GitHub to unite all developers and tools in one place. So, please, could you move there your project?
All your permissions will be kept, so do not afraid. Old URL will be kept also, new URL will be github.com/calculix/os2cx.
In your project Settings go to Options -> Danger Zone -> Transfer ownership. Click on ‘Transfer’ button, then type ‘calculix’ as user.
Thank you in advance!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.