Is drawing possible in mathcad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Is drawing possible in mathcad
Hi there,
I was wondering if mathcad can draw this sketch ? in Prime 10
thanks in advance
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
No, but early versions of Mathcad pre -Prime did have a CAD program (SmartSketch) that integrated with them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
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. 😉
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.
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.
“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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks! I never thought to use NaN for that.
