Skip to main content
10-Marble
July 13, 2016
Question

Fractals

  • July 13, 2016
  • 8 replies
  • 12880 views

Hi!

I would like to send this data to Creo, to create a 3D Model, is there a way to do so?

Many thanks,

Ioana

8 replies

21-Topaz II
July 13, 2016

Hello Ioana, I did everything I could do. With the data available, in fact, I could not do much. In the picture I give you some suggestions.

Greetings

FM

forLoana.jpg

24-Ruby III
July 13, 2016
idanila10-MarbleAuthor
10-Marble
July 14, 2016

These are amazing!

24-Ruby III
July 13, 2016

This Mathcad Prime worksheet can be found in attachment as a PDF document for a preview (for those who have trouble with opening Prime 3.1 worksheet).

24-Ruby IV
July 13, 2016
25-Diamond I
July 14, 2016

> I would like to send this data to Creo,

Which data?? The sheet you posted is faulty and unfinished. It does not create any data!

Here is, following the lines you provided, a solution in Mathcad 15. In Mathcad 15 we have a picture operator and so we can immediately see the result of our calculation (as you provide only one value per point its just  gray-scale image.

In Prime you can just save the image using the WRITEBMP command (as shown in the picture) and display it externally.

The Matrix with the values can be exported in a couple of different formats, if this helps importing them in Creo.

In Mathcad 15 you could also create a 3D-Plot or a Contour-Plot using the very same data matrix and color it using a colormap of your choice.

Regards

Werner

idanila10-MarbleAuthor
10-Marble
July 14, 2016

Initially, I have been inserting by mistake the wrong worksheet. Here is the one I meant, sorry for all the trouble.

One more thing: In order to send it to Creo I would need Prime 3.1, and moving from MC15 to Prime can be harsh sometimes, since some of the old functionalities have changed and get lost during conversion. I will try to see if it works with bmp first.

Thank you all for your responses!

Ioana

25-Diamond I
July 14, 2016

> and moving from MC15 to Prime can be harsh sometimes

you mean that there are times when its not harsh? 😉

> I will try to see if it works with bmp first.

If you just want to transfer the data, generating an Excel file, a CSV file, some other binary file type or even ASCII might be a better way to exchange the data.

Lookup WRITEEXCEL, WRITECSV, WRITEBIN or WRITEPRN in the help.

WE

1-Visitor
July 15, 2016

>Lookup WRITEEXCEL, WRITECSV, WRITEBIN or WRITEPRN in the help.

...And WRITERGB function.

Fractal_Prime3_1.png

24-Ruby III
July 17, 2016

In attachment can be found the worksheet that record matrix data into STL file format as a 3D model, which can easily be used later in Creo Parametric. But I have at the last moment of calculation when writing STL file the following error - "Not enough memory for this operation". I test it on Win 8.1 x64 with 8Gb of RAM. Can someone please check it?


Pic_1.png


P.S. For a viewing STL file format you can easily use "Online STL viewer", here: Free online STL viewer

15-Moonstone
July 17, 2016

Same Problem: Windows 10 64-bit, 8GB.

idanila10-MarbleAuthor
10-Marble
July 26, 2016

 

Objective achieved!

 

 

Last week I also continued to play with Mathcad and Creo in order to create a 3D fractal model to be 3D printed later.

 

It may sound harsh to transform a matrix of 300 rows into a 3D-converted readable, modifiable graph but not quite as harsh as it really is. And interesting!

 

There were many ideas, one of them being to make a matrix of 3 strings with those strings containing some informational values from the given function, another one was to write a .stl custom function,  and other ideas such as these 2 that were driven by the Community responses to my proposed question:

 

After trying to create a STL file from Mathcad Prime 3.1 that I saw to be possible, according to this Demo:

 

http://www.ptc.com/video?id=4002771978001&account=Demos

1.JPG

2.JPG

 

I found out that this customized function would require a .dll with background programming so I skipped directly to this life saver tool that converts 2D images in 3D objects, aka .stl files.

 

http://app.selva3d.com/transform (5 free trials)

 

3.JPG

 

After transforming it, I still had some more steps to do - to make it solid, in order to extrude it afterwards.

Some of the steps, if anyone ever interested, can be found here: https://www.youtube.com/watch?v=ho-t5OgEbJY

which lead to 4.JPG that is set at a level that contains not too many details, because otherwise, when printing, it would be very messy and many of those details would be lost anyway.

 

 

After some finishing strokes, I moved the part through MakerBot, that transformed as you may now see below: 5.JPG

 

And the tangible result:

  6.JPG

Tada!!!

   

As I have previously mentioned, this was a personal project, resulted from both my passion for fractals (there are even college classes about them nowadays) and because I wanted to verify if we can create a Model/Part that uses big data (sort of) with the Mathcad-Creo Integration.

   

As so I have seen it works!

 

Other interesting 3D printed models can be found here:

 

https://3dprint.com/50133/3d-printed-fractals-2/

 

& here:

 

http://www.thingiverse.com/glitchpudding/collections/fractals/page:2

 

I have also printed 2 of them the other week:

 

This one http://www.thingiverse.com/thing:1123004

  7.JPG  

And this one:

8.JPG

 

Best regards,

 

Ioana

 

24-Ruby III
July 28, 2016

Continue in the same spirit!