CAD type interface with Web Application
CAD type interface with Web Application
(OP)
This maybe a long shot, but I figured I would ask anyways.
I have built my website in python using Django and have my blog up and running.
I now want to dabble in adding some calculations to my website and one of the capabilities I am going to need is a CAD type interface to allow me and users to draw rectangles, polygons, etc.
Does anyone have some recommendations/ideas on how to embed some CAD type interfaces within my website? I want to be able to draw on my web application and perform some functions on the things drawn on screen.
I have built my website in python using Django and have my blog up and running.
I now want to dabble in adding some calculations to my website and one of the capabilities I am going to need is a CAD type interface to allow me and users to draw rectangles, polygons, etc.
Does anyone have some recommendations/ideas on how to embed some CAD type interfaces within my website? I want to be able to draw on my web application and perform some functions on the things drawn on screen.
S&T - www.re-tug.com
RE: CAD type interface with Web Application
https://tmjohnst.github.io/JSCAD/
This looks promising and very similar to what I wanted to try to achieve.
Reading about the python libraries such as pyqt and tkinter, it sounds a little bleak to try to achieve.
S&T - www.re-tug.com
RE: CAD type interface with Web Application
You’ll need to figure out a way to map the pixel dimensions of the object to real dimensions if your planning to run calcs off the data.
Webgl is another route: Link
My Personal Open Source Structural Applications:
https://github.com/buddyd16/Structural-Engineering
Open Source Structural GitHub Group:
https://github.com/open-struct-engineer
RE: CAD type interface with Web Application
A possibility might be to link Excel to Python with pyxll to do all the hard work, and just use Javascript as an interface, but I haven't looked into that. I don't think xlwings would work, because that uses VBA to link to the Python code, so won't work on-line.
Example of plotting Excel shapes with VBA:
https://newtonexcelbach.com/2008/11/11/drawing-in-...
Doug Jenkins
Interactive Design Services
http://newtonexcelbach.wordpress.com/