摘要: 1. 网上下载的安装包解压后好多文件在linux下没有执行权限,会导致安装失败。可以一次性使用 chmod -R +x ./ 命令添加或者遇到一个添加一个。 2.isight的安装过程脚本使用到类ksh,需要提前安装一下 sudo apt install ksh 。 3.abaqus的安装脚本使用的 阅读全文
posted @ 2022-08-20 18:29 禅元天道 阅读(1069) 评论(0) 推荐(0) 编辑
摘要: wsl命令说明(wsl --help): 用法: wsl.exe [Argument] [Options...] [CommandLine] 运行 Linux 二进制文件的参数: 如果未提供命令行,wsl.exe 将启动默认 shell。 --exec, -e <CommandLine> 在不使用默 阅读全文
posted @ 2022-08-12 18:08 禅元天道 阅读(1798) 评论(0) 推荐(0) 编辑
摘要: 什么是RPATH rpath全称是run-time search path。Linux下所有elf格式的文件都包含它,特别是可执行文件。它规定了可执行文件在寻找.so文件时的第一优先位置。另外,elf文件中还规定了runpath。它与rpath相同,只是优先级低一些。 搜索.so的优先级顺序 RPA 阅读全文
posted @ 2022-08-05 09:17 禅元天道 阅读(1550) 评论(0) 推荐(0) 编辑
摘要: C++源码: 1 #include <cstdlib> 2 #include <iostream> 3 #include <string> 4 5 std::string say_hello() 6 { 7 return std::string("Hello, CMake world!"); 8 } 阅读全文
posted @ 2022-08-04 14:42 禅元天道 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 1 #include "vtkAutoInit.h" 2 VTK_MODULE_INIT(vtkRenderingOpenGL2); 3 VTK_MODULE_INIT(vtkInteractionStyle); 4 VTK_MODULE_INIT(vtkRenderingFreeType) 5 6 阅读全文
posted @ 2022-07-20 10:41 禅元天道 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 从官方文件介绍看: vtkCellPicker will shoot a ray into a 3D scene and return information about the first object that the ray hits. vtkPointPicker returns the i 阅读全文
posted @ 2022-07-20 09:32 禅元天道 阅读(1760) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * @file main.cpp 3 * @brief vtk世界坐标拾取器 4 * @author 禅元天道(chanyuantiandao@126.com) 5 * @version 1.0.0 6 * @date 2022-07-19 7 */ 8 #include <vtkA 阅读全文
posted @ 2022-07-19 14:00 禅元天道 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 从图中可以看出odb对象的基本结构主要分为两大部分:ModelData和ResultData。 其中,ModelData用来定义用于分析计算的模型数据,比如零件、材质、初始条件和边界条件以及物理常数等。ResultData用来描述分析计算的结果,比如应力、应变和位移等。 如果用python解析odb 阅读全文
posted @ 2022-07-19 13:58 禅元天道 阅读(1781) 评论(0) 推荐(0) 编辑
摘要: 一、介绍 VIS(VTK Integration Services)组件通过VTK库为OCCT拓扑形状的可视化提供适配功能。 本用户指南描述了如何在基于 VTK 库的 3D 可视化应用程序中应用 VIS 类。 有两种方式可以使用VIS: 使用high-level API。 这是一个使用VTK显示 O 阅读全文
posted @ 2022-07-16 12:59 禅元天道 阅读(2134) 评论(0) 推荐(0) 编辑
摘要: 1 #include <vtkActor.h> 2 #include <vtkDataSetMapper.h> 3 #include <vtkNamedColors.h> 4 #include <vtkNew.h> 5 #include <vtkPoints.h> 6 #include <vtkRe 阅读全文
posted @ 2022-07-15 10:49 禅元天道 阅读(406) 评论(0) 推荐(0) 编辑