autocad

Moving an AutoCad DXF solid along a 3D path in Mathematica

五迷三道 提交于 2019-12-10 09:48:22
问题 I came across this post and found belisarius' answer interesting. Wondering whether he someone can post his complete mma code and give some explanation. In general, my question is about how to achieve this kind of annimation/plotting behavior in mma. It looks amazing to me! Many thanks. 回答1: Please tell me if further explanation is needed. x[t_] := {Cos@t, Sin@t, .1 t} /; t <= 3 Pi; x[t_] := {Cos@t, Sin@t, .3 Pi (4 - t/Pi)} /; t > 3 Pi; plotRange = {{-110, 110}, {-110, 110}, {-10, 110}}; z1 =

Debugging what this LISP Virus is doing

隐身守侯 提交于 2019-12-09 15:07:39
问题 My firm has been hit by an AutoCAD virus that is deleting and replacing our acaddoc.lsp with the routine below. I'm an architect and not exactly sure what this is doing by the repetitive "find" and "deletes". Questions What is this replacing the files with (currently searching for acadapq ) ? Who writes a virus for AutoCAD?!?! Has anyone seen this before? the CAD forums aren't very helpful. (setq wold_cmd (getvar "cmdecho")) (setvar "cmdecho" 0) (setq bb 2) (setq dpath (getvar "dwgprefix"))

YCAD Library Usage

江枫思渺然 提交于 2019-12-08 07:19:27
问题 I started using the YCAD Library. The problem is that I cannot find any usage instructions and I am kind of confused because I have no idea how to use it. I am hoping that somebody here used it before or is using it now so he/she can give me some tips how to use the library. Thank you in advance. PS. One of the requirements for the project is to develop it in Java . I know that there are some good libraries in C#, C++, etc. but I need to do it in Java . Best regards, Dimitar Georgiev 回答1:

How do I get metadata from a 2d .dwg file using Forge AutoDesk APIs?

强颜欢笑 提交于 2019-12-08 07:05:08
问题 I was using the Forge AutoDesk Data management, design management and model viewer APIs to upload my .dmg, convert it to svf and then using the metadata. It works well for 3D designs but there seems to no guid inside the metadata when I use 2D designs. Is there something I am doing wrong? EDIT: I can get the manifest alright, but when I fetch the metadata for the same, it gives an empty array. { "type": "manifest", "hasThumbnail": "true", "status": "success", "progress": "complete", "region":

How to export DWG files to images using AutoCad API with C#?

*爱你&永不变心* 提交于 2019-12-08 01:26:26
I have AutoDesk 2014 and VS2012 installed. I already have the dlls mentioned here and also tried this but not worked. I really need to know how to export those files to images, jpg, png,.. using C# code. Thanks! The DLLs and code you mentioned are used to create plugins for AutoCAD. You can create images (PNG or other) using a code like this: http://through-the-interface.typepad.com/through_the_interface/2007/04/taking_a_snapsh.html But you may need to get started with the API, see a basic tutorial at http://www.autodesk.com/myfirstautocadplugin To meet the requirements of your post, you can

How does one parse and convert AutoCAD MText entity to raw text?

强颜欢笑 提交于 2019-12-07 14:26:40
问题 I would like to parse AutoCAD's MText entity and extract the raw text. I see a pattern in the way the text is formatted. If this has already been solved, then I would not need to reinvent the wheel. I have searched online, but have not found sufficient information. I am searching for any links or references on this subject. Edit: To further clarify, we are using the ODA (Open Design Aliance) libraries to access the DWG files. I am not familiar with this library. Another developer is using the

How do I get metadata from a 2d .dwg file using Forge AutoDesk APIs?

时间秒杀一切 提交于 2019-12-06 16:45:33
I was using the Forge AutoDesk Data management, design management and model viewer APIs to upload my .dmg, convert it to svf and then using the metadata. It works well for 3D designs but there seems to no guid inside the metadata when I use 2D designs. Is there something I am doing wrong? EDIT: I can get the manifest alright, but when I fetch the metadata for the same, it gives an empty array. { "type": "manifest", "hasThumbnail": "true", "status": "success", "progress": "complete", "region": "US", "urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6ZGFkYXNkc2FkYS8xMTI2LmR3Zw", "version": "1.0",

Caliburn micro in no Application object mode, like in AutoCAD dll plugin

痞子三分冷 提交于 2019-12-05 22:53:47
I am using Caliburn Micro to develop WPF application. A few of views of this application needs to be loaded in an AutoCAD environment. The AutoCAD programming environment allows developement of AutoCAD plugins (of type dll) and load them into the AutoCAD environment. Because of AutoCAD plugin type(dll), the plugin does not have an Application Object, so the bootstrapper has to be customized for that. According to the Caliburn Micro documentation here (Scroll down to "Using Caliburn.Micro in Office and WinForms Applications") we can inherit the non-generic bootstrapper and pass "false" to the

Create Autocad file with C#

吃可爱长大的小学妹 提交于 2019-12-05 19:06:54
问题 I am expoloring currently an AutoCAD .NET API to create a dwg files from winform. Is this possible or should I look for another library? Are there any new tutorials of doing so? thanks Thanks for all your answers .... I will stick with my old DXF implementation, since this is personal project. 回答1: I think your only choice if you want DWG is to use OpenDesign. If you don't want to pay what that costs, you can write DXF instead. I have used VectorDraw, which does give a reasonable object model

How does one parse and convert AutoCAD MText entity to raw text?

*爱你&永不变心* 提交于 2019-12-05 18:53:05
I would like to parse AutoCAD's MText entity and extract the raw text. I see a pattern in the way the text is formatted. If this has already been solved, then I would not need to reinvent the wheel. I have searched online, but have not found sufficient information. I am searching for any links or references on this subject. Edit: To further clarify, we are using the ODA (Open Design Aliance) libraries to access the DWG files. I am not familiar with this library. Another developer is using the library and extracting information from the files including MText entities. I am then provided with a