Leaderboard
Popular Content
Showing content with the highest reputation since 02/18/2026 in all areas
-
Can you post a sample drawing with a block example of before & after? Add explanatory notes to the drawing so that we understand. From what I can understand of your goal I think Lee's code will work without modification.1 point
-
Took the day yesterday to work through the examples, youtube and so on, a bit of trial and error and kid of got it working. Just need to practice more - it wasn't as bad as it looked at first Driving however is another thing. Still crashing into things.1 point
-
We used AutoTurn by Transoft for years as an AutoCAD plugin years before Vehicle Tracking or even Civil 2D was added to AutoCAD. It was a company in England at the time but it's worldwide now and no longer a simple AutoCAD plugin!1 point
-
Just remember with say a semi you have to turn outward before turning in the direction you want for tight corners, same with exit oversteer corner. It normally took say 3+ goes to get a smooth path. Followed a road train go through multiple roundabouts in Darwin, a road train is 3 x 19m trailers 66 ton. The driver would go left and right crossing 3 lanes but did not go slow, What was that bump ?1 point
-
Thanks Tombu, played a little this morning and demolished some of a virtual London, not the software, my driving skills... but your links look handy1 point
-
Lot of useful tutorials for Vehicle Tracking on YouTube: https://www.youtube.com/results?search_query=autodesk+vehicle+tracking Used it a lot before I retired. For commercial projects besides entrances access to dumpsters and delivery locations was important. Curves in access roads need to be checked for the longest vehicles that uses them as parts of the vehicle shift inside.1 point
-
1 point
-
1 point
-
1 point
-
@Jgrand3371 I just loaded the app onto my BrisCAD Pro V26 and it appears to work. I just tested a few of the many options, certainly not an extensive test. This program is great! @gtwatson Thank you for sharing.1 point
-
1 point
-
https://github.com/mapbox/concaveman https://github.com/sadaszewski/concaveman-cpp it’s not automatic in that it requires parameters depending on the point distribution. concavity: A relative measure of concavity. A value of 1 provides a detailed shape, while Infinity results in a convex hull. lengthThreshold: Determines the minimum segment length considered for further detailing, with higher values leading to simpler shapes. Chomped through this 280k point set import traceback from pyrx import Ap, Db, Ed, Ge # --- Command for PyRx --- @Ap.Command() def doit0(): try: ps, ss = Ed.Editor.select([(Db.DxfCode.kDxfStart, "POINT")]) pnts = Ge.Point3dArray([Db.Point(id).position() for id in ss]) hull_points = pnts.concaveHull(0.8, 100) db = Db.curDb() pl = Db.Polyline(hull_points) pl.setDatabaseDefaults() pl.setClosed(True) pl.setColorIndex(2) db.addToModelspace(pl) except Exception: traceback.print_exc()1 point
-
This is a great guide working with Delaunator. https://mapbox.github.io/delaunator/ It explains the relationship between half-edges and triangles. in short the triangles are created in an order, you can iterate the triangles while being aware of the adjacent triangles. A [-1] in the half edge list means that edge is on the outside hull.1 point
-
The algorithm is fast because it returns a list of indexes, to your original array, of the points that make up the triangle, it also returns a list of half edges from pyrx import Ap, Db, Ed, Ge, Gi import traceback @Ap.Command() def doit(): try: filter = [(Db.DxfCode.kDxfStart, "POINT")] ps, ss = Ed.Editor.selectPrompt( "\nSelect points: ", "\nRemove points: ", filter ) if ps != Ed.PromptStatus.eNormal: return pnts = Ge.Point3dArray([Db.Point(id).position() for id in ss]) d = Ge.Delaunator(pnts) print(d.triangles()) print(d.halfedges()) except Exception: print(traceback.format_exc()) [0, 4, 3, 2, 1, 0, 0, 1, 4, 3, 2, 0] [8, -1, 11, -1, 6, 10, 4, -1, 0, -1, 5, 2]1 point
-
My fault for not stating all the angles were to be measured CW or CCW from 0°.1 point
-
Indeed, it is sir. Thank you for looking into this issue of mine. Although I'm not certain of what causes the error that I'm seeing, I have the same "Macro" written out on one of my gaming devices, it works, until AutoCAD becomes a dyslexic child. That caused me to look for an "internal" method to AutoCAD. Starting at around 2°, these were my results this morning. Multiple completely different random starting lines. I'm not sure what you mean by changing the start point, I want it to start on the 0° axis from 0,0. I do not use "Dynamic Input" or "Dynamic UCS".1 point
-
I like using foreach to step thought a selection set or if you need the vla-object (foreach ent (vl-remove-if 'listp (mapcar 'cadr (ssnamex SS))) ) (foreach obj (mapcar 'vlax-ename->vla-object (vl-remove-if 'listp (mapcar 'cadr (ssnamex ss)))) )1 point
-
Another very useful is "Entmake functions.lsp", it has various entmake functions in it. Maybe make a word doc etc of your functions describing what they do. We had a "how to directory" with lots of help files. Was thinking about doing macros in Notepad++ run ents, run ss, ssl for layer, ssi for insert and so on. This is a common one. (repeat (setq x (sslength ss)) (setq obj (vlax-ename->vla-object (ssname ss (setq x (- x 1))))) ) Posted this before. Lisp files Apr 2024.docx1 point
-
If you use Al Roger's old Lisp code to draw structural shapes (STL.LSP), I have replaced his old 9th Edition AISC shapes with the latest 16th edition shapes. I left his data for the Metric shapes alone since I did not have a source for the dimensions. His Lisp routine reads several DIM files that contain the shape data and I have not touched it. I just replaced his old DIM files with new ones. When I did the DIM files for the 13th edition of AISC, I kept Al's old data and appended a 9th on the end of the shape name and the 13th edition was added onto the end of the data. IIRC, the AISC has a spreadsheet with very old profiles for steel shapes from the late 1800's and the motivated user could add the old shapes at the end of the DIM files. The 16th edition of the AISC shape data includes many new rolled sizes. In order to use the Lisp, you have to unzip the package into a folder in your search path where it loads your LSP files and all the DIM files must be in the same folder so his program can find them along with the help file. I tested the program out on my 2024 version of ACAD and have used it on all prior ACAD versions that I've used for many years. For new users, after you Load the Lisp, you just type STL and his dialog window pops up and you select the shape and size and the 2D End, 2D Top, 2D Side, 3D Sold, or 3D Surface, and the Lisp will draw the shape. I'm a Structural Engineer and use STL to draw the shapes to see if the shape is too close to the anchor bolts on my base plate design. I don't do much drafting and not much Lisp, so I am in awe of the talent that came up with this code. I just occasionally edit the DIM files so it can draw new shapes. Edit--Edit-- I found an error in the Stl_Tube.DIM file and it was corrected with the revised ZIP below. I also edited the DCL file to change the Label for Tubes to HSS which is what the AISC now calls them. I found another error in the LSP code with a divide by 2 producing errors (it should have been /2.0) ) HTH Al's Steel Mill 2023_R1.zip1 point
-
Steps after typing STL at the prompt to start the program: 1) Select the Shape button (in your screen shot you selected Pipe-Std 2) Select the View you want (2d end etc.) 3) Select the size from the drop down Size table. 4) The OK button will now be available, and you select OK. 5) The dialog box will go away and you select a point on your drawing to start the shape. Each shape has a different starting point. 6) Doubly symmetric shapes like pipes will draw the shape 7) Singly symmetric shapes like angles will put the shape in and you can rotate it as you like dynamically. 8 ) To draw another shape, you type in STL again and repeat as needed.1 point
-
Call Grind for Lisp (CG) is a Lisp application aimed to help profiling of lisp programs running on IntelliCAD, AutoCAD, BricsCAD and alikes. If you are in need of determining the bottle-necks, the time consumed for specified functions , visualize call diagram of your lisp application you may find CG useful. CG collects data (time consumed by each function and call stack) at runtime (dynamic analysis) and creates “call grind” type output to be used by CacheGrind system (credit goes to authors). Requirement: Download and install qcachegrind software recompiled for Windows version of KCacheGrind. Refer to header of the lisp code attached for instructions. Limitation: May fail in consecutive functions forming loop. License: Copy Left Enhanced the code, found a bug? Just let me know. Suha cg.lsp1 point
-
You’re welcome Tom. I forgot to say that if you are unable to install the 2021.1 update, then second choice is to set the AutoCAD system variable LISPSYS to zero and restart AutoCAD. The caveat is AutoCAD will then use the old VLAIDE rather than new Visual Studio. Steve Doman1 point
-
The best software depends on the type of work that you do. Architectural, Civil, Mechanical, Electrical, etc.1 point
-
Updated Version for the night, South_Elevation Model 5.pdf everything done except for dimensioning & the roofing from what I can tell (plotted in monochrome for easier viewing). For anyone that needs a better look at what is called for, assuming its all "PF correct". If anyone notices something off let me know!1 point
-
yes, ATTSYNC is the magic command. If you update blocks with attributes you only change future blocks, not those already in the drawing. The ATTSYNC command syncronises all blocks to the new definition. It is possible to do a lot of damage to a block by deleting attibutes and not attsyncing it - and there have been plenty of "help me" requests here to prove it.1 point
