Customizable Diamond Library Help

Well summed up, thank you for your help!
Another problem, if we go through configurations, we will end up with an impossible number of possibilities and therefore configurations ...

I add a STEP file of the stone shapes that I want to be able to configure :wink:
Main forms of lynkoa stone. STEP (1.2 MB)

Thank you

Deformation is possible with scaling along the 3 axes independently by unchecking the "uniform scale" box. The result is in %
Traction (stretching) is also possible with the flex function by ticking "traction". The value is in mm.

2 Likes
  • Yes but as explained in my first message, impossible for me to manage these 3 values in the family of parts probably because of a bug...
  • 2nd problem, you would have to create a lot of configuration to have all the possible sizes of the stone (example: height = 2 / width = 2.2 / length = 3.6 etc)

Thank you for your involvement

To work around the bug, use hide/show scaling and create as many MAEs as different versions.
For the 2nd pb there is excel which makes editing tables easier.
Maybe you need a macro that creates these functions faster.

oh bug the ugly little checkbox that I haven't seen :laughing: and like that we test the option Answer to a like :stuck_out_tongue:

1 Like

It's a solution but if I want to create all the size variations for a baguette (rectangle) diamond for example:

Length: 0.5 to 8 with a pitch of 0.1
Width: 0.5 to 8 with a pitch of 0.1
Height: 0.5 to 8 with a pitch of 0.1

That's 75 possible values per parameter
So 75 to the power of 3 to have the right number of configurations, i.e. 421,875 configurations...

Tell me if I'm wrong but I think that's it

I think there are much fewer because there should be limits of proportions. For example, L > l.
Long=0.5 and width=1.0 cannot exist. Simply rotate the workpiece 90°.
Long = 8 and larg = 0.5 cannot exist because for a baguette
Screenshot_1
it would result in an unusable stone
Screenshot_6
So limits of relations between Llh to be imposed.
By applying these conditions, it should drastically reduce the number of versions.
And you have to use excel. More friendly than the SW equation editor.

1 Like

Even if we limit the number of possible configurations to 10,000, the file would be much too large to be used so I don't think this solution is viable.

Maybe you should go for a one-shot creation when inserting via a library file (.sldlfp) or other...

I'll think about it
:thinking:

I would use the room families to create a library of these stones. Of course, it takes a little time, but I don't see any other solution. I think you have to do that for one stone and then copy the model for the others.

Yes, as long as you start from a step and use a scaling it will be the fastest.
I tried to make a shiny round, and it was a hassle when you only have a visual to find the right cutting angles to shape the stone. not to mention the angles/proportion, the most common values of which can easily be found.
As soon as I can I will share my piece. for fun

1 Like

Another possibility is to draw a stone of each type, drag it into your assembly and make it virtual to modify it (scale).
If you need several stones, it is possible once it is made virtual to drag again from the library to create a new virtual iteration.
For the geared motor of the same size but too many configs (speed), this is the solution that we use.
To make a virtual component selection, right-click and make virtual:
image

3 Likes

as expected, here is my attempt to create a round diamond under SW for those who are interested :wink:
DIAMOND 1.SLDPRT (227.9 KB) SW2019

2 Likes

Hello

Thank you for this answer, it's an interesting method, but I'm looking to insert stones of different sizes and shapes on the fly, doing the small scale calculation still takes a lot of time on about twenty stones.

Thank you for your sharing in any case!

If anyone has another idea I'm interested :slight_smile:

But I repeat, I don't think that the use of families of parts / configurations is possible in this case because far too many possible solutions = file much too heavy and unusable... @soring

It may be possible to code something associated with a property form, I'll find out about it.

Thank you all

Hello

A great challenge... The idea is to start from the shapes of stones proposed in your STEP file to design a parameterization that allows the evolution of their geometry.

I was interested in the " Pear " cut, less popular than others it seems, but one of the most delicate since it has only one plane of symmetry. The configuration is based on 4 dimensions that seem essential: the diameter of the circular part, the eccentricity of the tip, and the crown and breech heights. To which is added a global scale factor.


The SolidWorks model is generated via the PLC functions, and each parameter can be continuously adjusted within a reasonable range. We can also imagine scaling factors related to the x, y or z directions.
The attached video shows the principle on the " Pear " shape. The geometry can be wireframe, in the form of a 3D sketch of the edges, or polygonal with faces generated by the " Filled Area" feature.

The speed is far from being as fast as Panther 3D, due to the slowness of the SolidWorks API functions: a few seconds in wireframe, nearly a minute in surface to generate and display 88 faces, video accelerated by a factor of 4 in the geometry generation phase.
And there are 7 other shapes of stones in the initial STEP...

Kind regards.

5 Likes

Thank you for sharing, it's really great to be able to do this!
As you say, it would be too long for my use but I'm still impressed with your API.

I'll keep looking on my own

Thank you all for your answers!

Given the number of theoretical configurations needed, would a low-cost solution that would be to create a new conf each time, which would end up creating a catalog of the stones already produced, not suitable?
Or a duplicated model each time...
Of course, these are not the sexiest solutions

1 Like

It's possible that I'll end up doing that...

After some superficial research, I find that fused was right, there's nothing better than scaling

The names of stones, types and number of facets seem to me to be normalized

Ideally, if you have to play with scales in your case, it would be to see a step in cubic format 1x1x1 or 10x10x10, which will make it much easier to choose the value of the scaling. coef 1.2 will be 1.2x1.2x1.2 (if the 3 axes are identical of course or 12x12x12 for the other)
The key is to create a step that corresponds to a perfect cube. (not said that it applies to all shapes of stone such as pears)

Hello, yes that's really not stupid, I hadn't thought about it at all!

Thank you very much for the tips :muscle:

I don't think there are any other great solutions

:gem: Thank you all for your help :gem:

1 Like