Crenellation pattern trough a set of points

Hi guys,

What is an elegant/possible way to figure the following problem. I would like to have a crenellation pattern (which you can also find on castles) going perpendicular through these defined points. Does someone have a suggestion? It would help me tremendously!

Yours sincerely

Obtained geometry

Desired patterns through points obtained above

Bewaren

Load Previous Replies
  • up

    peter fotiadis

    Restart from depth 0 (nesting is limited):

    Ok that is crystal clear to me ;). So the poly-line curves that have to crenelated are known. What (perhaps in words) is the process in the script?

    Er... hmm ... what process? You mean how are the crenelation is made?


    One crucial thing is that the teeth length should be a variable. Now I cannot control it. It seems to depend on (1) the minEdgeDiv and (2) the startOffset. Where I am aiming for is a deviation of teeth seen from the midpoint of the crenelated edges with a value of e.g. 75 mm. Still taken into account the start and end offset of e.g. 50 mm

    Teeth length is indeed variable (read further) But anyway .. I'll add some user controlled options for the teeth making. As it is indeed is controlled by the 2 as above variables (PLUS a "safe guard" check: if minEdgeLength / 3.0 < startOffset ... then startOffset = minEdgeLength / 3.0 ... meaning that you divide the remaining 33% and all the rest are "proportionally" to that [bigger edges, that is]). This yields as equal teeth(s) as possible for obvious reasons (recommended movie: Frankenstein Junior).  

    9
  • up

    peter fotiadis

    Restart (again) from node 0:

    Spend a couple of minutes more on that one: get V1D that provides 2 teeth division policies (new variable percentage controls the startOffset in relation with the minEdgeLength [critical for doing the teeth job safely everywhere]). New boolen report variable tells you stories about edges, available length for divisions and the N of divisions.

    A small demo thingy gives you a hint about what a double rounded value is: for instance Math.Round(2.49, 0) = 2 whilst Math.Round(2.51,0) = 3). So ... we divide each remaining edge length (length - 2* startOffset) by the new divLength variable (policy == 2) ... we round the result and we get the divisions (min allowed value: 1).  This presupposes that startOffset is constant (should be ??).

    And ... well ... the Dark Side wants YOU > don't hesitate to double click on these magic boxes > the logic is exposed (I mean after a proper triple espresso [or more]).

    Change anything (even a ".") and have a BIG time, he he.

    1
    • up

      peter fotiadis

      Restart AND Reset:

      1. Forget teeth (only suitable for your mother/father in law), rods (ditto) and the likes.

      2. Find a suitable variable aluminum connector (for instance: http://www.fipa.com/en_GB/products/207700-profile-connectors/25/1 ). Find one that can being fixed.

      3. Design a custom aluminum beam (or contact Fipa) - BTW. Chinese do custom stuff for peanuts money.

      4. Create the vault LBS first using the beams (the "skeleton").

      5. Study Migua elastic inserts (critical) and Ceresit PE/S sealants. Get the gist of bridging gaps as a pro.

      6. Use marine grade plywood only as a facet top cover (and some proper false ceiling). Plywood dimensions are usually 1.20 * 2.20 m. A 25 mm sheet could be OK for a small vault. DO NOT varnish the plywood. Epoxy glue linear aluminum L (10/10 mm) along the upper lips (in order to allow silicone to adhere properly (not shown in the image below) : failing to do that ... buy an umbrella).

      7. Use trigonometry to calculate the variable beam placement per module.

      Do this:

      4