下载量: 0
收藏: 0
产品介绍
动态
下载
购买
资源
产品概述
CGM to Vector SDK 是由 Larson Software Technology 开发的一款高性能软件开发工具包 (SDK)。它专为需要在应用程序中精准读取、解析和转换 CGM (计算机图形元文件) 文件的开发者设计。该 SDK 能够将复杂的 2D 技术插图、工程图纸从 CGM 格式无损转换为业界通用的矢量格式。
核心功能与支持格式
CGM 标准支持: 全面支持最新的 WebCGM、ATA GREXCHANGE、PIP (Paste-in-Place) 以及经典的 ISO/IEC 8632 CGM 标准。
精准输出矢量格式:
SVG: 生成干净、可缩放、适合 Web 展示的矢量代码。
PDF: 保留所有文本字体和几何精度,适合文档分发与打印。
DWF (Design Web Format): 适用于 Autodesk 生态系统的轻量化设计共享。
DGN: 支持 MicroStation 原生设计文件格式。
开发接口: 提供简洁高效的 C/C++ API,方便集成至 Windows 或 Linux 桌面端/服务端应用程序。
高保真还原: 精确保留源 CGM 文件中的图元属性,包括线条样式、填充模式、字体映射及图层结构。
典型应用场景
航空航天与国防: 转换符合 ATA iSpec 2200 标准的 CGM 技术插图至 PDF 或 SVG 供电子手册 (IETM) 使用。
工程制图软件: 为现有的 CAD 或 PLM 系统增加 CGM 导入与发布功能。
文档归档系统: 将旧版 CGM 图纸批量转换为适合长期保存的 PDF/A 或 SVG 格式。
Convert CGM to Vector SDK
Our Convert CGM to Vector SDK provides a "seamless" format conversion process for applications that need to convert CGM to vector images for publishing.
Convert CGM to Vector SDK accurately converts ISO CGM V1-V4 files to vector formats: SVG, PDF, EPS. Program controls for scaling, color or monochromatic, line width, margins...
Fast Implemetation; Simply, setup the conversion parameters and then call a single function which converts the CGM file to your target format.
Convert CGM to Vector SDK includes sample code and the converter library (DLL), which can be utilized with your C, C++ or Visual Basic applications.
Example Code (C++):
wchar_t input_file[512], output_file[512], log_file[512], config_file[512];
CGM2VECTOR_PARAMS params;
params.width = 8.5; // page width in inches
params.height = 0; // page height using aspect ratio of CGM * width
params.units = CGM2VECTOR_INCHES; // page width & height in inches
params.demoflag = 0; // no demo banner in output
params.lineScale = 1; // line width scale factor
params.logMode = 0; // 1= log to console/file
params.uncompressed = 0; // compressed
params.colorMode = 0; // 0= do nothing, 1= greyscale, 2= greyscale enhanced
params.reverseVideo = 0; // 0= do nothing, 1= reverse black and white
params.mediaColor = 0; // 0= do nothing, 1= black, 2= white
params.boundsCheckRatio = 0;
params.outputType = ot; // 0= PDF, 1=EPS, 2= SVG
params.marginSize[0] = 0;
params.marginSize[1] = 0;
params.marginUnits = CGM2VECTOR_PIXELS;
error = cgm2vector(input_file, output_file, log_file, config_file, ¶ms);
Platforms: Windows XP, Vista, 7, 8 and 10; 32 and 64 bit; Linux 32 and 64 bit
Input: CGM V1-V4, CGM+
Output: EPS, PDF and SVG
Profiles: ATA, PIP, S1000D, and WebCGM
渝公网安备50010702505508