Continue to Site

Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations LittleInch on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

CAD type interface with Web Application

Status
Not open for further replies.

sticksandtriangles

Structural
Joined
Apr 7, 2015
Messages
509
Location
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 -
 

Recommended Content

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.

Part and Inventory Search

Sponsor

Top