1
$\begingroup$

I want to make a structure like the following

[1]: https://i.sstatic.net/npCdL.png

enter image description here

where:

  • L is the total length and its fixed
  • $\lambda$ is the distance between each arc
  • n: is the number of repeated structures in the center

I have tried several ways to do that. The best two so far are both using a sweep along a line. One is using a Equation driven line and the other one is using arcs and a linear pattern, however in both cases I am missing something.

In general my specs are -ideally- the following. I want to :

  • manage all parameters as global variables from the "Manage Equations"
  • center the non straight structure
  • define different $\lambda$, $n$
  • have a fixed length L
  • (if at all possible) not be limited to arcs but also more generic shapes, eg. triangles or squares.
$\endgroup$
2
  • $\begingroup$ Have you tried using a design table? That might be the most efficient method. $\endgroup$
    – jko
    Commented Apr 26, 2021 at 13:50
  • $\begingroup$ no, I haven't because generally I don't get along with the concept of configuration. However, I might give it a try. $\endgroup$
    – NMech
    Commented Apr 26, 2021 at 15:33

1 Answer 1

1
$\begingroup$

I have a partial solution for this. By doing two opposing patterns of sketch blocks, rotated by 180 degrees to each other, and dimensioning the other sketch entities to fit around these, I can make a sketch which will update as you desire, including the more complex geometry, but unfortunately when you do an extrude, it creates disjoint bodies.

This is easily fixed by creating a new blank sketch, selecting the original sketch, and then pressing convert entities.

This can then handle parametric changes in the Lambda and the Length, but if you change the Number, then it will 'fall over'. It's quick to manually fix, just edit the sketch, CTRL+A to delete, select the origial, convert entities, rebuild. This could perhaps be assigned to a macro, set to run automatically on rebuild.

I have uploaded the file that I created for this demo here: http://www.filedropper.com/parameteriseddemo

Thin cut extrude

$\endgroup$
3
  • $\begingroup$ I was hoping you'd reply to this. I haven't read it yet, but I know it will be the most optimal way. $\endgroup$
    – NMech
    Commented Apr 26, 2021 at 18:33
  • $\begingroup$ Kind words indeed - I'll keep thinking in case I can avoid the rebuild error $\endgroup$ Commented Apr 26, 2021 at 18:35
  • 1
    $\begingroup$ codestack.net/solidworks-api/document/macro-feature this might present a solution of sorts - eihter to the rebuild error issue in my answer above, or to the whole problem - could write a macro to create the relevant sketch from your global variable inputs. $\endgroup$ Commented Apr 28, 2021 at 10:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.