文件上传: scp 'C:\Users\Administrator\Desktop\publish.zip'
root@192.168.11.128:/root/usr/dotnet
-
- 进入supervisord主配置文件: cat /etc/supervisord.conf
-
- 创建一个目录 mkdir /etc/supervisor.p/ -p
-
-
- 打开配置文件 # vim /etc/supervisord.conf
-
- 查询进程 ps -ef|grep supervisor
private static void Test01(Document document)
{
//测试数据,三个点
XYZ start1 = new
XYZ(0, 0, 0);
XYZ end = new
XYZ(100, 0, 0);
XYZ end6 = new
XYZ(100, 100, 0);
var outVertices =
new List();
outVertices.Add(start1);
outVertices.Add(end);
outVertices.Add(end6);
//1.输入点集合、材料ID
创建细分面
var tessFace = new
TessellatedFace(outVertices, new ElementId(392544));
// Fill out your copyright notice in the Description page of Project Settings.
#include 'SimplePictureToolsLibrary.h'
#include 'IImageWrapper.h'
#include 'IImageWrapperModule.h'
bool USimplePictureToolsLibrary::LoadImageToTextrue2D(
import tensorflow as tf
import matplotlib.pylab as plt
print(tf.test.is_built_with_gpu_support())
print(tf.test.is_built_with_rocm())
data_path='./cat.jpg'
image_raw_data1 = tf.io.read_file(data_path,None)
image =
tf.image.decode_image(contents=image_raw_data1,channels=3)
image_jpg =
tf.image.decode_jpeg(image_raw_data1,channels=3)
#print(type(image))
#plt.imshow(image)
plt.imshow(image_jpg)
image_jpg = image_jpg.numpy()
print(type(image_jpg) )
print(image_jpg.shape)
(717, 719, 3)
Point3dCollection pt3dCol = new Point3dCollection();
sortLine[i].IntersectWith(sortLine[i + 1],
Intersect.ExtendBoth, pt3dCol, 0, 0);
///
/// 求出线的交点
///
///
///
public static List
CurveCrossCurvePoints(List ls3ds,Tolerance tolerance)
{
List crossPts = new
List();
for (int i = 0; i
< ls3ds.Count - 1; i++)
{
for
(int j = i + 1; j < ls3ds.Count; j++)
{
Point3d[] ptArray =
ls3ds[i].IntersectWith(ls3ds[j],tolerance);
if (ptArray
public Result
OnStartup(UIControlledApplication application)
//可停靠窗口
string
m_mainPageGuid = 'C8BFE771-D9F1-47E1-8934-A425D2358F80';
DockablePaneTest
m_mainPage = new DockablePaneTest(application);
Guid retval =
Guid.Empty;
retval = new
Guid(m_mainPageGuid);
DockablePaneId
sm_UserDockablePaneId = new DockablePaneId(retval);
application.RegisterDockablePane(sm_UserDockablePaneId,'DockblePaneTest',m_mainPage
as IDockablePaneProvider);
//注册事件
try
&
(2016-04-19 08:52)
Ribbon菜单的空间有限,因此可能需要大量控件放在一个Windows窗体里,