上一页 1 2 3 4 5 6 ··· 96 下一页
摘要: import time import math import numpy as np # A small helper function to limit angles between -pi and pi def wrap_to_pi(angle): while angle > math.pi: 阅读全文
posted @ 2025-01-11 10:21 西北逍遥 阅读(42) 评论(0) 推荐(0)
摘要: 在Ubuntu 20.04上安装Qt 5.15.0 1 安装必要的依赖项: sudo apt-get install build-essential \ libgl1-mesa-dev \ libglu1-mesa-dev \ libegl1-mesa-dev \ libgles2-mesa-dev 阅读全文
posted @ 2025-01-11 00:44 西北逍遥 阅读(1248) 评论(0) 推荐(0)
摘要: https://download.qt.io/archive/qt/5.12/5.12.12/qt-opensource-linux-x64-5.12.12.run 阅读全文
posted @ 2025-01-10 21:45 西北逍遥 阅读(52) 评论(0) 推荐(0)
摘要: 2024工业软件企业TOP50 RK企业备注 1 卡奥斯物联科技股份有限公司 卡奥斯COSMOPlat、孪生制造一体化平台(MOM、SIM) 2 上海宝信软件股份有限公司 宝信软件,钢铁信息化 3 国电南瑞科技股份有限公司 国电南瑞,电网自动化及工业控制 4 浙江中控技术股份有限公司 中控技术,DC 阅读全文
posted @ 2025-01-08 23:38 西北逍遥 阅读(499) 评论(0) 推荐(0)
摘要: IFC数据解析与渲染,施工进度自动生成与施工方案导出 ############################## 阅读全文
posted @ 2024-12-31 02:21 西北逍遥 阅读(72) 评论(0) 推荐(0)
摘要: #include <QApplication> #include <QWidget> #include <QPainter> #include <QPolygonF> #include <QPoint> #include <QMouseEvent> #include <QMessageBox> cl 阅读全文
posted @ 2024-12-29 23:59 西北逍遥 阅读(84) 评论(0) 推荐(0)
摘要: #pragma once #include <osgGA/TrackballManipulator> #include<osgGA/CameraManipulator> #include<osgGA/GUIActionAdapter> #include <osg/Group> #include <o 阅读全文
posted @ 2024-12-28 23:37 西北逍遥 阅读(198) 评论(0) 推荐(2)
摘要: #6= IFCCARTESIANPOINT((0.,0.,0.)); #12= IFCDIRECTION((1.,0.,0.)); #20= IFCDIRECTION((0.,0.,1.)); #22= IFCDIRECTION((0.,0.,-1.)); #32= IFCAXIS2PLACEMEN 阅读全文
posted @ 2024-12-13 23:59 西北逍遥 阅读(33) 评论(0) 推荐(0)
摘要: VTK环境 (base) C:\Users\BIM> (base) C:\Users\BIM>conda create -n vtk_env python==3.8 Collecting package metadata (current_repodata.json): done Solving e 阅读全文
posted @ 2024-12-10 07:43 西北逍遥 阅读(69) 评论(0) 推荐(0)
摘要: ifc中一个ifcwall案例 #6= IFCCARTESIANPOINT((0.,0.,0.)); #10= IFCCARTESIANPOINT((0.,0.)); #20= IFCDIRECTION((0.,0.,1.)); #26= IFCDIRECTION((-1.,0.)); #32= I 阅读全文
posted @ 2024-12-09 23:47 西北逍遥 阅读(71) 评论(0) 推荐(0)
摘要: ifc中一个ifccolumn案例 #6= IFCCARTESIANPOINT((0.,0.,0.)); #18= IFCDIRECTION((0.,-1.,0.)); #20= IFCDIRECTION((0.,0.,1.)); #24= IFCDIRECTION((1.,0.)); #32= I 阅读全文
posted @ 2024-12-09 02:18 西北逍遥 阅读(47) 评论(0) 推荐(0)
摘要: #6= IFCCARTESIANPOINT((0.,0.,0.)); #18= IFCDIRECTION((0.,-1.,0.)); #20= IFCDIRECTION((0.,0.,1.)); #24= IFCDIRECTION((1.,0.)); #32= IFCAXIS2PLACEMENT3D 阅读全文
posted @ 2024-12-07 01:01 西北逍遥 阅读(52) 评论(0) 推荐(0)
摘要: 使用C++解析IFC中的构件名称 比如:#1318= IFCWALL('2iW_ibiC5FdBGj9bA43z7h',#42,'\X2\57FA672C5899\X0\:\X2\5899\X0\ 1:7545',$,'\X2\57FA672C5899\X0\:\X2\5899\X0\ 1:1641 阅读全文
posted @ 2024-12-05 14:15 西北逍遥 阅读(66) 评论(0) 推荐(0)
摘要: from paraview.simple import * reader = ExodusIIReader(FileName=['C:\\Users\\paul\\.........\\exodusfile.e']) def getBlockIndices(compositeDataInformat 阅读全文
posted @ 2024-12-01 22:22 西北逍遥 阅读(23) 评论(0) 推荐(0)
摘要: Qt VTK加载openfoam计算结果.foam文件。 #include <QApplication> #include <QDebug> #include "qvtkopenglwidget.h" #include <vtkSmartPointer.h> #include <vtkGeneric 阅读全文
posted @ 2024-11-28 20:10 西北逍遥 阅读(89) 评论(0) 推荐(0)
摘要: osg三维场景中拾取鼠标在模型表面的点击点 #include <osg/Group> #include <osg/Geode> #include <osg/ShapeDrawable> #include <osgDB/ReadFile> #include <osgViewer/Viewer> #in 阅读全文
posted @ 2024-11-19 21:26 西北逍遥 阅读(274) 评论(0) 推荐(1)
摘要: c++实现livox-mid70/360采集、保存点云数据 void PointCloudCallback(uint32_t handle, const uint8_t dev_type, LivoxLidarEthernetPacket* data, void* client_data) { if 阅读全文
posted @ 2024-11-05 07:54 西北逍遥 阅读(475) 评论(0) 推荐(0)
摘要: QMap<QString, int> map; map["one"] = 1; map["three"] = 3; map["seven"] = 7; map.insert("twelve", 12); int num1 = map["thirteen"]; int num2 = map.value 阅读全文
posted @ 2024-10-02 23:48 西北逍遥 阅读(23) 评论(0) 推荐(0)
摘要: QByteArray arr1 = QByteArray::fromHex("000000A1000000B2000005DC00000000000000900000000000000000000000000000000100000020000000210000000100000000001748C 阅读全文
posted @ 2024-09-27 10:49 西北逍遥 阅读(120) 评论(0) 推荐(0)
摘要: # -*- coding: utf8 -*- import serial import time import datetime import struct # 替换成你的串口名称和波特率 ser = serial.Serial('COM5', 115200, timeout=1) def anal 阅读全文
posted @ 2024-09-13 15:30 西北逍遥 阅读(62) 评论(0) 推荐(0)
摘要: #include <QApplication> #include <QFileDialog> #include <QFile> #include <QTextStream> #include <QMessageBox> void saveFileWithDialog() { QString file 阅读全文
posted @ 2024-09-10 10:14 西北逍遥 阅读(81) 评论(0) 推荐(0)
摘要: unity3d通过串口接收Arduino数据 using System.Collections; using System.Collections.Generic; using UnityEngine; using System.IO.Ports; using System; using Syste 阅读全文
posted @ 2024-09-01 00:16 西北逍遥 阅读(227) 评论(0) 推荐(0)
摘要: ImageDraw.Draw 填充区域 在Python的PIL(Python Imaging Library,现在通常称为Pillow)库中,ImageDraw.Draw 对象用于在图像上绘制形状。要填充一个区域,你通常会使用 rectangle、ellipse、polygon 等方法,并指定填充颜 阅读全文
posted @ 2024-08-30 19:12 西北逍遥 阅读(295) 评论(0) 推荐(0)
摘要: python 计算list的方差 import numpy as np # 假设我们有一个包含数值的列表 data = [1, 2, 3, 4, 5] # 计算均值 mean = np.mean(data) # 计算方差 variance = np.var(data) # 这将使用默认的N-1作为分 阅读全文
posted @ 2024-08-21 18:12 西北逍遥 阅读(268) 评论(0) 推荐(0)
摘要: if (tcpSocketObj->state()==QAbstractSocket::SocketState::ConnectedState) { qDebug() << "send data:"<<dataStr; tcpSocketObj->write(dataStr.toUtf8()); } 阅读全文
posted @ 2024-08-17 22:49 西北逍遥 阅读(29) 评论(0) 推荐(0)
摘要: 在Qt中,QTcpSocket 类用于TCP网络编程,它提供了丰富的接口来管理TCP连接。要判断 QTcpSocket 的连接状态,可以使用 state() 方法,该方法返回一个 QAbstractSocket::SocketState 枚举值,表示当前的连接状态。 以下是一些常见的连接状态及其对应 阅读全文
posted @ 2024-08-14 21:52 西北逍遥 阅读(732) 评论(0) 推荐(0)
摘要: python获取当前日期 年月日时分秒 from datetime import datetime now = datetime.now() current_time = now.strftime("%Y-%m-%d %H:%M:%S") ############################## 阅读全文
posted @ 2024-08-13 22:05 西北逍遥 阅读(280) 评论(0) 推荐(0)
摘要: pyqt5 combox选择事件绑定 import sys from PyQt5.QtWidgets import QApplication, QWidget, QComboBox, QVBoxLayout, QLabel class ComboBoxExample(QWidget): def __ 阅读全文
posted @ 2024-08-12 15:13 西北逍遥 阅读(245) 评论(0) 推荐(0)
摘要: unity3d 动态改变物体的位置 using UnityEngine; public class MoveObject : MonoBehaviour { void Start() { // GameObject myObject = GameObject.Find("myObject"); if 阅读全文
posted @ 2024-08-11 16:26 西北逍遥 阅读(120) 评论(0) 推荐(0)
摘要: python 读取文本文件 # 打开文件 with open('myfile.txt', 'r') as file: # 读取文件内容 content = file.read() # 打印文件内容 print(content) ########################## 阅读全文
posted @ 2024-08-10 19:38 西北逍遥 阅读(22) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 96 下一页