OCCT-Tutorials_and_Demos_03:Novice_Guide

Tutorials and Demos 03

Modeling: Bottle Tutorials

原文链接: https://dev.opencascade.org/doc/overview/html/occt__tutorial.html

Overview 概述

This tutorial will teach you how to use Open CASCADE Technology services to model a 3D object. The purpose of this tutorial is not to describe all Open CASCADE Technology classes but to help you start thinking in terms of Open CASCADE Technology as a tool.

本教程将教您如何使用OpenCASCADE技术服务来建模3D对象。本教程的目的不是描述所有开放式CASCADE技术类,而是帮助您开始将开放式CASCADE技术作为一种工具进行思考。

阅读全文

LFS-V-系统配置

V 系统配置

引导 Linux 系统涉及多项任务。该进程必须挂载虚拟和真实文件系统,初始化设备,激活交换,检查文件系统的完整性,挂载任何交换分区或文件,设置系统时钟,启动网络,启动系统所需的任何守护进程,并完成任何用户需要的其他自定义任务。必须组织此过程以确保以正确的顺序执行任务,但同时尽可能快地执行。

第9节 系统配置

阅读全文

LFS-I-Introduction

笔者序

LFS官网: https://www.linuxfromscratch.org/lfs/read.html

本系列记录了笔者的操作系统课程设计“基于LFS的Linux发行版制作”中的大部分命令行操作,包含在构建过程中的一些bug排除过程,仅供参考。如果需要完整的构建教程,请前往LFS官网。

笔者基于LFS 11.0,以VMWare中的Ubuntu 18.04 LTS虚拟机作为宿主机进行构建。

第V部分系统配置中,笔者也没成功。。。

I 如何构建 LFS 系统

LFS 系统必须在一个已经安装好的 Linux 发行版 (如 Debian、OpenMandriva、Fedora 或者 openSUSE) 中构建。这个安装好的 Linux 系统 (称为宿主) 提供包括编译器、链接器和 shell 在内的必要程序,作为构建新系统的起点。请在安装发行版的过程中选择“development” (开发) 选项,以使用这些工具。

阅读全文

OCCT-Tutorials_and_Demos_01:Novice_Guide

Tutorials and Demos 01

原文链接: https://dev.opencascade.org/doc/overview/html/samples__novice_guide.html

Novice Guide 新手向导

Modeling with OCCT: Key differences OCCT建模:关键区别

Open CASCADE Technology (OCCT) is an object-oriented C++ framework designed for rapid production of sophisticated CAD/CAM/CAE applications. In other words, it provides endless possibilities for raw 2D and 3D modeling in C++ environment. Unlike end-user software, it is used by the application developers and therefore strongly differs from the most popular CAD/CAM/CAE software packages. OCCT provides building blocks enough for modeling, editing, visualization, and data interoperability of 2D and 3D objects.

Open CASCADE Technology(OCCT)是一个面向对象的C框架,用于快速生成复杂的CAD/CAM/CAE应用程序。换句话说,它为C环境中的原始2D和3D建模提供了无尽的可能性。与最终用户软件不同,它由应用程序开发人员使用,因此与最流行的CAD/CAM/CAE软件包有很大不同。OCCT为2D和3D对象的建模、编辑、可视化和数据互操作性提供了足够的构建块。

阅读全文

读代码学习TensorRT

读代码学习TensorRT

代码仓库: https://github.com/wang-xinyu/tensorrtx/tree/yolov5-v4.0/yolov5s

TensorRT 7.0 documentation: https://docs.nvidia.com/deeplearning/tensorrt/archives/tensorrt-700/tensorrt-api/c_api/namespacemembers_func.html

Cuda documentation: https://docs.nvidia.com/cuda/cuda-runtime-api/modules.html#modules

TensorRT 做的工作

  • 构建期
    • 模型解析/建立
    • 计算图优化
    • 节点消除
    • 多精度支持
    • 优选kernel/format
    • 导入plugin
    • 显存优化
  • 运行期
    • 运行时环境
    • 序列化反序列化

TensorRT基本流程

版本

  1. GTX1080 / Ubuntu16.04 / cuda10.0 / cudnn7.6.5 / tensorrt7.0.0 / nvinfer7.0.0 / opencv3.3
  2. Yolov5 v4.0

TensorRTX由于基于TensorRT7.0,与最新的8.5.2的API有较大不同
7.0 https://docs.nvidia.com/deeplearning/tensorrt/archives/tensorrt-700/tensorrt-api/c_api/index.html
latest(8.5.2 now) https://docs.nvidia.com/deeplearning/tensorrt/api/c_api/index.html

yolov5.cpp

阅读全文

OCCT_Introduction

原文链接: https://dev.opencascade.org/doc/overview/html/index.html#intro_overview_heal

Open CASCADE Technology

Welcome to Open CASCADE Technology (OCCT), a software development platform providing services for 3D surface and solid modeling, CAD data exchange, and visualization. Most of OCCT functionality is available in the form of C++ libraries. OCCT can be best applied in development of software dealing with 3D modeling (CAD), manufacturing / measuring (CAM) or numerical simulation (CAE).

欢迎使用开放式CASCADE技术(OCCT),这是一个软件开发平台,为三维曲面和实体建模、CAD数据交换和可视化提供服务。OCCT的大部分功能都以C++库的形式提供。OCCT最适用于处理三维建模(CAD)、制造/测量(CAM)或数值模拟(CAE)的软件开发。

https://www.opencascade.com

Open CASCADE

阅读全文