小编ami*_*mit的帖子

将autodesk .dwg和.dwf文件转换为three.js json格式

我想使用three.js渲染autodesk(.dwg和.dwf)的3D图形文件,但是three.js要求3D数据采用json格式.所以,我需要将这些文件转换为three.js可读的json格式.我尝试在互联网上搜索但找不到任何解决方案.谁能告诉我这些文件的好转换器?

提前致谢.

json dwg autodesk three.js

6
推荐指数
1
解决办法
1万
查看次数

如何获取包含冒号的xml属性值?

我正在尝试使用 Java 中的 Xpath 解析 xml 文件。我需要获取属性值为 xml:lang="en" 的文本元素下的所有元素值。

这是我的 xml 文件:

<?xml version="1.0" encoding="UTF-8" ?>
<image id="10001" file="images/2/10001.png">
   <name>Lake two mountains.png</name>
   <text xml:lang="en">
      <description />
      <comment />
      <caption article="text/en/4/335157">Location map of Lake of Two Mountains.  </caption>
   </text>
   <text xml:lang="de">
      <description/>
      <comment />
      <caption article="text/de/5/441485">Lage des Lac des Deux Montagnes (ganz rechts liegt Montréal)</caption>
   </text>
   <text xml:lang="fr">
      <description />
      <comment />
      <caption />
   </text>
   <comment>({{Information |Description= Location map of Lake of Two Mountains in Quebec, Canada. |Source= based on Image:Oka …
Run Code Online (Sandbox Code Playgroud)

java xml xpath

5
推荐指数
1
解决办法
3338
查看次数

在 accoreconsole.exe 中加载自定义 .net dll

我尝试使用 netload 命令在 accoreconsole.exe (AutoCAD 2016) 中加载自定义 .net dll,但无法加载 dll。

以下是 accoreconsole.exe 的输出:

Redirect stdout (file: C:\Users\amitp\AppData\Local\Temp\accc37242).
AutoCAD Core Engine Console - Copyright Autodesk, Inc 2009-2013.

Usage:
AcCoreConsole.exe [/i <input dwg>] /s <script>[/product <product>] [/l <language
>] [/isolate <userid> <userDataFolder>] [/readonly] [/p[rofile] <profile>]

Example:
AcCoreConsole.exe /i 8th_floor.dwg /s test.scr /l en-US
Regenerating model.


**** System Variable Changed ****
1 of the monitored system variables has changed from the preferred value. Use SY
1 of the monitored system variables has changed …
Run Code Online (Sandbox Code Playgroud)

autocad objectarx autodesk autocad-plugin

4
推荐指数
1
解决办法
3511
查看次数

标签 统计

autodesk ×2

autocad ×1

autocad-plugin ×1

dwg ×1

java ×1

json ×1

objectarx ×1

three.js ×1

xml ×1

xpath ×1