Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

CAD type interface with Web Application

Status
Not open for further replies.

sticksandtriangles

Structural
Apr 7, 2015
468
0
16
US
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.

S&T -
 
Replies continue below

Recommended for you

I wouldn't call it a CAD type interface, but Excel lets you draw sticks and triangles, and you can extract coordinates and other parameters from the drawn objects, or draw shapes from coordinates. I have done a fair bit with VBA but you would need to use Javascript for the web, so good luck with that.

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:


Doug Jenkins
Interactive Design Services
 
Status
Not open for further replies.
Back
Top