CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic Closed2D Problem with circles in an equilateral tringle

 Post Reply Post Reply Page  123 7>
Author
Kent Cooper View Drop Down
Senior Member
Senior Member


Joined: 12.Mar.2013
Location: United States
Using: AutoCAD2020, 2023
Status: Offline
Points: 686
Direct Link To This Post Topic: 2D Problem with circles in an equilateral tringle
    Posted: 18.Mar.2014 at 17:44
Here's a better version of the same thing.  It uses a different way to make the Circles that's faster [try both with 100 Circles per edge, and you'll really see what I mean]:  uploads/353260/CirclesFillPolygonII.lsp

Edited by Kent Cooper - 18.Mar.2014 at 18:04
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 15.Mar.2014 at 17:16
Since it is YOUR thread perhaps YOU should do the summary.  Seems only fair.
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
sadiq3210 View Drop Down
Groupie
Groupie


Joined: 08.Mar.2014
Location: Pakistan
Using: AutoCAD2010
Status: Offline
Points: 28
Direct Link To This Post Posted: 15.Mar.2014 at 07:46
thank you guyz, time to close discussion here.
I would like if some one make a summary of whole thread and post in a single post to make thread clean.
and then i will delete my later posts to clear the thread
Back to Top
Kent Cooper View Drop Down
Senior Member
Senior Member


Joined: 12.Mar.2013
Location: United States
Using: AutoCAD2020, 2023
Status: Offline
Points: 686
Direct Link To This Post Posted: 14.Mar.2014 at 19:42

It doesn't use constraints, but assuming Circle 3 in your diagram is supposed to remain tangent to the crossing Lines in the middle, the criteria in the diagram will be met by using CFP and 5 Circles along each edge.

And yes, the CFP command is built to require closed Polylines, because it would be hugely more complicated otherwise, since separate Lines have no inherent relationship to each other.  Just determining whether a collection of six Lines form a regular hexagon would be a difficult task, considering that the Lines might not all have been drawn in the same direction around the shape, and other complications.
Back to Top
sadiq3210 View Drop Down
Groupie
Groupie


Joined: 08.Mar.2014
Location: Pakistan
Using: AutoCAD2010
Status: Offline
Points: 28
Direct Link To This Post Posted: 14.Mar.2014 at 18:07
no, no want to make it with constraints.

see this half worked diagram

http://i38.photobucket.com/albums/e109/sadiq3210/Untitled_zps1e5de5c4.png


Edited by sadiq3210 - 14.Mar.2014 at 18:10
Back to Top
rs_higgins View Drop Down
Groupie
Groupie


Joined: 03.Dec.2013
Location: United States
Using: AutoCad 7-2020, SW 14, PRO-E died
Status: Offline
Points: 75
Direct Link To This Post Posted: 14.Mar.2014 at 18:02
Originally posted by sadiq3210 sadiq3210 wrote:

Now I am trying to make the object (circles in triangle - 5 row) using constraint.


When it ask the number of just hit 5 of any number you want.


I have tried up to 9 it did them all.

No electrons were harmed in the making of this post. I will admit a few protons were momentarily Inconvenienced
Back to Top
John Connor View Drop Down
Senior Member
Senior Member


Joined: 01.Feb.2011
Location: United States
Using: AutoCAD 2018
Status: Offline
Points: 7175
Direct Link To This Post Posted: 14.Mar.2014 at 17:49
Select Polyline triangle/square/hexagon to fill with Circles:

The program is expecting to see polylines not lines.  That is how it was written.  The code would have to be altered to be able to use lines.
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>

Back to Top
sadiq3210 View Drop Down
Groupie
Groupie


Joined: 08.Mar.2014
Location: Pakistan
Using: AutoCAD2010
Status: Offline
Points: 28
Direct Link To This Post Posted: 14.Mar.2014 at 17:39
Now I am trying to make the object (circles in triangle - 5 row) using constraint.
Back to Top
sadiq3210 View Drop Down
Groupie
Groupie


Joined: 08.Mar.2014
Location: Pakistan
Using: AutoCAD2010
Status: Offline
Points: 28
Direct Link To This Post Posted: 14.Mar.2014 at 17:33
Originally posted by rs_higgins rs_higgins wrote:

Originally posted by sadiq3210 sadiq3210 wrote:

I got the solution to my question. I want to discuss AutoLisp now, which was mentioned earlier in this thread multiple times. what is autoLisp?


By the By what was the answer you came up with that worked for you. Good info is always needed


when i tried that script, it worked.


Edited by sadiq3210 - 14.Mar.2014 at 17:36
Back to Top
rs_higgins View Drop Down
Groupie
Groupie


Joined: 03.Dec.2013
Location: United States
Using: AutoCad 7-2020, SW 14, PRO-E died
Status: Offline
Points: 75
Direct Link To This Post Posted: 14.Mar.2014 at 17:17
Originally posted by sadiq3210 sadiq3210 wrote:

I got the solution to my question. I want to discuss AutoLisp now, which was mentioned earlier in this thread multiple times. what is autoLisp?


By the By what was the answer you came up with that worked for you. Good info is always needed

Back to Top

Related CAD tips:


 Post Reply Post Reply Page  123 7>
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,109 seconds.