- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Dear Experts,
We are working with some blocks which looks like wedges (Simple Right Angled Triangles) . All blocks are looking similar (copied entities) . We want to generate all possible alignments (4 types of symmetry possible per alignment)
Here in the picture below i have done the manual work of triangle where Hypotenuse of second Right Angled Triangle is aligned with Perpendicular of First Right Angled Triangle(Scaled to fit) . If we chose different sides of line segments from Right Angled Triangles , then we get different kinds of options of alignments. Some of these are not intended and some of these are intended for our drafting needs.
I need exhaustive list of pictures possible due to these alignments (Wrong geometry or right geometry both to include) and need separate arrangements pictures (on the drawing) due to different types of Alignments points chosen . Here only Sin(Θ) is used and only one x is there which means only one * operator is done so , only 4^1 arrangement to generate . If such multiplication increases , then possible pictures will form like large possible options which is tough to draw manually on Autocad
I have made triangle shaped blocks. i have put Hypotenuse in Hypotenuse layer , Base in the Base layer and the Perpendicular in perpendicular layer
Now , if i type command GT it will ask for option(sub commands) like <HP>,<HB>,<BP>,<PH>,<PB> ,<BH> ...
example
<HP> means i want to align and scale to fit Hypotenuse of second similar block on Perpendicular of First Block with all possible pictorial options
<HB> means i want to align and scale to fit Hypotenuse of second similar block on Base of First Block with all possible pictorial options
<BP> means i want to align and scale to fit Base of second similar block on Perpendicular of First Block with all possible pictorial options
<PB> means i want to align and scale to fit Perpendicular of second similar block on Base of First Block with all possible pictorial options
<PH> means i want to align and scale to fit Perpendicular of second similar block on Hypotenuse of First Block with all possible pictorial options
<BH> means i want to align and scale to fit Base of second similar block on Hypotenuse of First Block with all possible pictorial options
The picture here shows the algorithm which i have used in c#
Detail logic is written here
https://github.com/SanjoyNath/GeometrifyingTrigonometry/wiki
More clue is here
if there are n1 numbers of multiplication in given Trigonometric Expression and n2 numbers of divisions there then
k=n1+n2
if there are total k numbers of multiplications and division in a Trigonometric expression then
[(k+1)!] x (4^k) numbers of (maximum) pictorial arrangements possible which is very tough to draw manually.I am writing the framework in c# here for CAD which needs closing and reopening of CAD to update plugins everytime which is tedious.So i need lisp for this to avoid frequent closing and reopening CAD
BIM Manager And Digital Lead (Structures Online)
BOOST, AR , VR ,EPM,IFC API,PDF API , CAD API ,Revit API , Advance Steel API
Founder of Geometrifying Trigonometry(C)
Solved! Go to Solution.