Geometry
-
In the last post we looked at some amazing visualizations of prime numbers created by Carlos Paris. I also mentioned I'd try my hand at replicating the basic visualization using DesignScript: it's a good fit for solving this kind of problem (we want to create lots of repeated geometry based on the results of mathematical […]
-
As Shaan reported over on his blog, AutoCAD gets used in some very surprising ways. This "Hack A Day" article highlights the achievements of Carlos Paris, an HVAC engineer and AutoCAD user who found a novel way to visualize and understand prime numbers. Carlos originally believed he'd found an elusive proof for the twin prime […]
-
There was a follow-up comment on this previous post, requesting that it also create a rectangular boundary around selected geometry. This is a much simpler problem to solve that dealing with a minimum enclosing circle, so I was happy enough to oblige. ๐ Rather than duplicate code from the previous implement, I went ahead and […]
-
It's been a hectic week and I haven't been able to find much time to work on a final post for today, so I had a quick delve in my "interesting" folder and found this little gem. Not long ago, someone asked me by email about the reason for making the various co-ordinate properties (X/Y/Z) […]
-
I'm really excited about this. A new programming language and environment for AutoCAD is now available for download on Autodesk Labs (and here's the announcement on Scott's blog, in case, and you should also be aware of this login/download issue โ something I just ran into myself). Way back when, I helped integrate the initial […]
-
Since posting about the ability to display transient graphics as an ongoing feature that can react to mouse input, I've been thinking of the steps that would be needed to generate a custom gizmo comparable with AutoCAD's viewcube. The post starts to go in that direction by displaying a couple of types of transient graphics […]
-
Many, many thanks to Massimo Cicognani for contributing the code in today's post. Massimo contacted me as he was working through some issues with his implementation and then kindly offered to share it with this blog's readers. We've looked at a few different types of overrule on this blog, in the past, and even taken […]
-
This question came in by email, last week: I'm trying to reverse the direction of a polyline thought the API, but I didn't find something in the documentation nor in the web. (Even nothing on your blog.) Can you help me? I also didn't find anything in the public API, although that doesn't mean there […]
-
This is a really interesting topic. At least I think it is โ hopefully at least some of you will agree. ๐ The requirement was to create selectable โ or at least manipulatable โ transient graphics inside AutoCAD's drawing canvas. As many of you are probably aware, transient graphics are not hooked into AutoCAD's selection […]
-
To accompany the last post โ which raised some questions around when and where to call Dispose() on objects created or accessed via AutoCAD's .NET API โ today we're going to look at a few concrete examples. Thanks to Danny P for not only requesting some examples but also presenting some concrete areas he wasn't […]