Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Translate the entire conversation x

Is drawing possible in mathcad

YA_10963798
14-Alexandrite

Is drawing possible in mathcad

Hi there, 

I was wondering if mathcad can draw this sketch ? in Prime 10

YA_10963798_0-1739883627648.png

thanks in advance

ACCEPTED SOLUTION

Accepted Solutions

Mathcad Prime doesn't have native drawing abilities like that; the encouraged workflow is to use another program to make the drawing and either insert object or insert image.

I manage the Creo and PTC Mathcad YouTube channels for PTC, as well as all PTC Mathcad marketing in general.

View solution in original post

5 REPLIES 5

No, but early versions of Mathcad pre -Prime did have a CAD program (SmartSketch) that integrated with them. 

Mathcad Prime doesn't have native drawing abilities like that; the encouraged workflow is to use another program to make the drawing and either insert object or insert image.

I manage the Creo and PTC Mathcad YouTube channels for PTC, as well as all PTC Mathcad marketing in general.
SPaulis
14-Alexandrite
(To:YA_10963798)

Yes and no.  For drawing discrete lines and poly lines in 2D, you need to have the XY data in two separate arrays, and use NaN values to separate continuous lines.  Drawing text uses the same principles but requires the shape of every character to be programed into data arrays first, then to draw your text at desired locations.  There are some text drawing functions put out by other inventive users that you can search out on this site.

 

For this example, I am showing a geometry of concrete anchors, I uses the thick light gray lines to show the concrete edges, blue boxes to show the anchor tributary areas and the red dots to show the anchor locations and the dark gray dot to show the anchor group CG. I have the drawing data for the blue boxes in one array to keep things clean with NaN values to separate the individual box drawing data.  That way my program can have any number of boxes without me having to edit the chart to add or remove unused arrays.  In this particular example, I have a uniform anchor pattern in one direction and a gap in the other direction.  With this technique, I could have anchors in seemingly random locations and my function can handle it just as easily without me having to manualy change the plot parameters--it all depends on my anchor geometry input.  

 

SPauliszyn_0-1739893291802.png

 

In this example I am putting loads on a simply supported beam and calculating the shear, moment and deflection diagrams.  For point load vectors, I just use a data set with "spikes" that show the point loads (in this case they are reaction loads).  The discontinuous moment diagram is caused by applied rotational-spring applied over 9 nodes equally spaced along the beam.  I do not have a symbol drawn for the rotational springs, but that and node fixity symbols will be modeled in a later version.  The other plot data should be obvious from the array names I used.  The result is my "Movember" themed beam example. 😉

SPauliszyn_1-1739893971075.png

 

In this example I was drawing a simple house in 3D to test 3D transformation matrices and do develop simple modeling functions to add to other Mathcad solutions that I use in construction engineering.

 

SPauliszyn_2-1739894238822.png

SPauliszyn_3-1739894271004.png

The houselines' variable contained all the line data in a matrix (xyz coordinates ran horizontal and all points listed vertical) with [NaN  NaN  NaN] entries to make discrete gaps between continuous lines.  The housemesh' variable contained all the mesh data to generate the surfaces.  That is a completely different topic but is still very easy. 

 

 

 

 

 

 

Shawn P.
“It’s OK to fall in love with your heart. But, when it comes to making engineering decisions, don’t design with your heart.” – Blodgett, Omer W.
LucMeekes
23-Emerald III
(To:SPaulis)

Then all you need further is to add the text: https://community.ptc.com/t5/Mathcad/Toolbox-Text-plotting/m-p/765693#M198954

 

Success!
Luc

JKT
13-Aquamarine
13-Aquamarine
(To:SPaulis)

Thanks! I never thought to use NaN for that.

Announcements

Top Tags