计算机科学 ›› 2020, Vol. 47 ›› Issue (11A): 266-270.doi: 10.11896/jsjkx.200200029
邢敬普1, 李凤岐1, 王胜法2, 王祎2, 宗贵升3, 范永刚1
XING Jing-pu1, LI Feng-qi1, WANG Sheng-fa2, WANG Yi2, ZONG Gui-sheng3, FAN Yong-gang1
摘要: 近年来,随着3D打印技术的不断进步,彩色3D打印正成为行业的普遍需求。然而作为目前3D打印领域模型描述的标准文件格式,STL文件并不存储三维模型的颜色信息,无法满足彩色3D打印对模型信息提取和切片处理过程的新需求。在此背景下,选取OBJ彩色模型作为彩色切片技术的研究对象,解析其文件结构,提取其中保存的模型几何和颜色相关信息,并进行切片过程优化处理;结合OBJ模型的具体特点,在传统拓扑切片算法的基础上,提出基于模型连续性的彩色切片算法,给出了算法的整体流程步骤。应用该算法的切片处理提高了分层处理的效率,得到了模型的分层轮廓信息,完成了彩色切片的处理过程。实验结果证明该技术可对OBJ模型进行彩色切片处理,其效果良好,稳定可靠。
中图分类号:
[1] HALEEM A,JAVAID M.Additive Manufacturing Applications in Industry 4.0:A Review[J].Journal of Industrial Integration &Management,2019,4(4):1930001. [2] SINGH O P,AHMED S M,AHMED A M,et al.Modern 3D Printing Technologies:Future Trends and Developments[J].Recent Patents on Engineering,2015,9(2):129-135. [3] WANG F Y.From social computing to social manufacturing:the coming industrial revolution and new frontier in cyber-physical-social space [J].Bull Chin Acad Sci,2012,27:658-669. [4] CHENG Y L,CHANG C H,KUO C.Experimental study on leveling mechanism for material-jetting-type color 3D printing[J].Rapid Prototyping Journal,2020,26(1):11-20. [5] YANG G,LIU W J,WANG W,et al.Research on the Rapid Slicing Algorithm Based on STL Topology Construction[J].Advanced Materials Research,2010,97(101):3397-3402. [6] WANG Y G.3D model file input and processing in OpenGL in 3ds and OBJ format[J].Electronic World,2013(6):86-87. [7] WANG J F,YAO G Q.Input and processing of OBJ format in OpenGL[J].Computer Knowledge and Technology,2011 (10):187-190,193. [8] LU Z W.Importing and Processing of OBJ Model Files in OpenGL[J].Scientific and Technological Information,2013(7):94-95,124. [9] WANG B,SUN W.Research on texture mapping method of new OBJ file based on OpenGL[J].Computer and Digital Enginee-ring,2015(8):135-138. [10] REN S,WANG Z,XU Z C,et al.An information hiding algorithm based on texture mapping of OBJ 3D model [J].Journal of Beijing University of Posts and Telecommunications,2019(1):127-129. [11] OLIVEIRA M M,BISHOP G,MCALLISTER D.Relief Texture Mapping[J].ACM SIGGRAPH Computer Graphics,2000(6):359-368. [12] XU H W,JING W H,LI M J,et al.A slicing model algorithm based on STL model for additive manufacturing processes[C]//Proceedings of 2016 IEEE Advanced Information Management,Communicates,Electronic and Automation Control Conference (IMCEC 2016).2016:1647-1650. [13] LI Z L,LIANG D,LI D C,et al.Research on fast hierarchical processing algorithm based on information inheritance [J].Journal of Xi'an Jiaotong University,2002,36(1):43-46. [14] ROCK S J,WONZY M J.Generating topological informationfrom a bucket of facets [C]//Proceedings of Solid Freeform Fabrication Symposium Proceedings.1992:251-258. [15] ZHANG Z,JOSHI S.An improved slicing algorithm with efficient contour construction using STL files[J].The International Journal of Advanced Manufacturing Technology,2015,80(5/6/7/8):1347-1362. [16] XIAO H B,ZHOU Y Q,LIU M J,et al.Approach to Optimize STL Model for 3D Laser Machining[C]//Proceedings of 2017 2nd International Conference on Computational Modeling,Simulation and Applied Mathematics(CMSAM 2017).2017:192-196. [17] ZHU J,GUO G,YAN Y N.Research on the fast layering algorithm based on model continuity in rapid prototyping manufacturing [J].China Mechanical Engineering,2000(5):77-82,86. [18] HU H W,ZHANG L C,ZHANG J F,et al.Fast slicing algorithm of surface color AMF model [J].Journal of Computer Aided Design and Graphics,2017,29(11):2108-2116. |
[1] | 徐涌鑫, 赵俊峰, 王亚沙, 谢冰, 杨恺. 时序知识图谱表示学习 Temporal Knowledge Graph Representation Learning 计算机科学, 2022, 49(9): 162-171. https://doi.org/10.11896/jsjkx.220500204 |
[2] | 王子凯, 朱健, 张伯钧, 胡凯. 区块链与智能合约并行方法研究与实现 Research and Implementation of Parallel Method in Blockchain and Smart Contract 计算机科学, 2022, 49(9): 312-317. https://doi.org/10.11896/jsjkx.210800102 |
[3] | 曾志贤, 曹建军, 翁年凤, 蒋国权, 徐滨. 基于注意力机制的细粒度语义关联视频-文本跨模态实体分辨 Fine-grained Semantic Association Video-Text Cross-modal Entity Resolution Based on Attention Mechanism 计算机科学, 2022, 49(7): 106-112. https://doi.org/10.11896/jsjkx.210500224 |
[4] | 熊罗庚, 郑尚, 邹海涛, 于化龙, 高尚. 融合双向门控循环单元和注意力机制的软件自承认技术债识别方法 Software Self-admitted Technical Debt Identification with Bidirectional Gate Recurrent Unit and Attention Mechanism 计算机科学, 2022, 49(7): 212-219. https://doi.org/10.11896/jsjkx.210500075 |
[5] | 潘志勇, 程宝雷, 樊建席, 卞庆荣. 数据中心网络BCDC上的顶点独立生成树构造算法 Algorithm to Construct Node-independent Spanning Trees in Data Center Network BCDC 计算机科学, 2022, 49(7): 287-296. https://doi.org/10.11896/jsjkx.210500170 |
[6] | 李瑭, 秦小麟, 迟贺宇, 费珂. 面向多无人系统的安全协同模型 Secure Coordination Model for Multiple Unmanned Systems 计算机科学, 2022, 49(7): 332-339. https://doi.org/10.11896/jsjkx.210600107 |
[7] | 黄觉, 周春来. 基于本地化差分隐私的频率特征提取 Frequency Feature Extraction Based on Localized Differential Privacy 计算机科学, 2022, 49(7): 350-356. https://doi.org/10.11896/jsjkx.210900229 |
[8] | 叶跃进, 李芳, 陈德训, 郭恒, 陈鑫. 基于国产众核架构的非结构网格分区块重构预处理算法研究 Study on Preprocessing Algorithm for Partition Reconnection of Unstructured-grid Based on Domestic Many-core Architecture 计算机科学, 2022, 49(6): 73-80. https://doi.org/10.11896/jsjkx.210900045 |
[9] | 赵静文, 付岩, 吴艳霞, 陈俊文, 冯云, 董继斌, 刘嘉琪. 多线程数据竞争检测技术研究综述 Survey on Multithreaded Data Race Detection Techniques 计算机科学, 2022, 49(6): 89-98. https://doi.org/10.11896/jsjkx.210700187 |
[10] | 陈鑫, 李芳, 丁海昕, 孙唯哲, 刘鑫, 陈德训, 叶跃进, 何香. 面向国产异构众核架构的CFD非结构网格计算并行优化方法 Parallel Optimization Method of Unstructured-grid Computing in CFD for DomesticHeterogeneous Many-core Architecture 计算机科学, 2022, 49(6): 99-107. https://doi.org/10.11896/jsjkx.210400157 |
[11] | 王毅, 李政浩, 陈星. 基于用户场景的Android 应用服务推荐方法 Recommendation of Android Application Services via User Scenarios 计算机科学, 2022, 49(6A): 267-271. https://doi.org/10.11896/jsjkx.210700123 |
[12] | 傅丽玉, 陆歌皓, 吴义明, 罗娅玲. 区块链技术的研究及其发展综述 Overview of Research and Development of Blockchain Technology 计算机科学, 2022, 49(6A): 447-461. https://doi.org/10.11896/jsjkx.210600214 |
[13] | 蒋成满, 华保健, 樊淇梁, 朱洪军, 徐波, 潘志中. Python虚拟机本地代码的安全性实证研究 Empirical Security Study of Native Code in Python Virtual Machines 计算机科学, 2022, 49(6A): 474-479. https://doi.org/10.11896/jsjkx.210600200 |
[14] | 袁昊男, 王瑞锦, 郑博文, 吴邦彦. 基于Fabric的电子病历跨链可信共享系统设计与实现 Design and Implementation of Cross-chain Trusted EMR Sharing System Based on Fabric 计算机科学, 2022, 49(6A): 490-495. https://doi.org/10.11896/jsjkx.210500063 |
[15] | 陈钧吾, 余华山. 面向无尺度图的Δ-stepping算法改进策略 Strategies for Improving Δ-stepping Algorithm on Scale-free Graphs 计算机科学, 2022, 49(6A): 594-600. https://doi.org/10.11896/jsjkx.210400062 |
|