surface

Abaqus Surface getSequenceFromMask

北慕城南 提交于 2021-02-07 04:05:59
问题 I am writing script in Abaqus, where I crush circle and square with cut circle (like cheese). I need to put Contact between parts so I need Surface. macro manager generates: s1 = a.instances['kolo-1'].edges side1Edges1 = s1.getSequenceFromMask(mask=('[#1 ]', ), ) a.Surface(side1Edges=side1Edges1 , name='kolkoSurf') The problem is: getSequenceFromMask(mask=('[#1 ]', ), ) How to get this #1? Can I replace it? I searched little and there were some ideas to use: 'find', 'face', 'COORDS' but I

Abaqus Surface getSequenceFromMask

回眸只為那壹抹淺笑 提交于 2021-02-07 04:00:57
问题 I am writing script in Abaqus, where I crush circle and square with cut circle (like cheese). I need to put Contact between parts so I need Surface. macro manager generates: s1 = a.instances['kolo-1'].edges side1Edges1 = s1.getSequenceFromMask(mask=('[#1 ]', ), ) a.Surface(side1Edges=side1Edges1 , name='kolkoSurf') The problem is: getSequenceFromMask(mask=('[#1 ]', ), ) How to get this #1? Can I replace it? I searched little and there were some ideas to use: 'find', 'face', 'COORDS' but I

Abaqus Surface getSequenceFromMask

陌路散爱 提交于 2021-02-07 03:59:04
问题 I am writing script in Abaqus, where I crush circle and square with cut circle (like cheese). I need to put Contact between parts so I need Surface. macro manager generates: s1 = a.instances['kolo-1'].edges side1Edges1 = s1.getSequenceFromMask(mask=('[#1 ]', ), ) a.Surface(side1Edges=side1Edges1 , name='kolkoSurf') The problem is: getSequenceFromMask(mask=('[#1 ]', ), ) How to get this #1? Can I replace it? I searched little and there were some ideas to use: 'find', 'face', 'COORDS' but I

how to make circular surface in pygame

戏子无情 提交于 2021-02-05 09:23:06
问题 I need to create a surface that has a bounding circle. Anything drawn on that surface should not be visible outside that bounding circle. I've tried using masks, subsurfaces, srcalpha, etc., but nothing seems to work. My attempt: w = ss.get_width () h = ss.get_height () TRANSPARENT = (255, 255, 255, 0) OPAQUE = ( 0, 0, 0, 225) crop = pygame.Surface ((w, h), pygame.SRCALPHA, ss) crop.fill (TRANSPARENT) c = round (w / 2), round (h / 2) r = 1 pygame.gfxdraw. aacircle (crop, *c, r, OPAQUE) pygame

遥感图像处理

旧时模样 提交于 2021-02-03 11:02:21
2021年第一篇文章 基本概念 遥感 (Remote Sensing):遥远的感知,是一种远距离不直接接触物体而获取其信息的探测技术,主要是以电磁波为媒介,包括从紫外--可见光--红外--微波的范围。 DN值 (Digital Number ):遥感影像像元亮度值,记录地物的灰度值。 地表反射率 (Surface Albedo):地面反射辐射量与入射辐射量之比,表征地面对太阳辐射的吸收和反射能力。反射率越大,地面吸收太阳辐射越少;反射率越小,地面吸收太阳辐射越多。 表观反射率 (Apparent Reflectance):指大气层顶的反射率,辐射定标的结果之一,大气层顶表观反射率,简称表观反射率,又称视反射率。 亮度温度 (Brightness Temperature):是指和被测物体具有相同辐射强度的黑体所具有的温度,简称亮温。 地理编码 (Geo-coding):把图像矫正到一种统一标准的坐标系。 地理参照 (Geo-referencing):又叫图像纠正(Rectification),借助一组控制点,对一幅图像进行地理坐标的校正。 图像配准 (Registration):同一区域里一幅图像(基准图像)对另一幅图像校准,以使两幅图像中的同名像素配准。 图像存储方式 一般,传感器获取的遥感图像,包括通用型的二进制数据和一个说明性的头文件。 二进制数据形式主要有三种,分别是BIL

Android faac x264 rtmp camera2推流b站直播

浪子不回头ぞ 提交于 2021-01-30 01:43:39
package com.zzm.play.x264 ; import android.os.Bundle ; import android.support.annotation. Nullable ; import android.support.v7.app.AppCompatActivity ; import android.view.TextureView ; import android.view.View ; import com.zzm.play.R ; import com.zzm.play.utils.PermissionUtil ; public class MyActivity extends AppCompatActivity { @Override protected void onCreate ( @Nullable Bundle savedInstanceState) { super .onCreate(savedInstanceState) ; setContentView(R.layout. x264_camera2_layout ) ; init() ; doSomeThing() ; } private Camera2Tool camera2Tool ; private TextureView textureView ; private void

Matplotlib: GRID and COLORMAP with TRISURF

流过昼夜 提交于 2021-01-29 20:50:50
问题 I want to put a grid on my surface but it doesn't work even with linewidth different from zero, also I would like to plot a colormap that changes the color with Z axis, so the walls should appear with the same color cos they are points at 0.5 in Z. Hope somebody can help me, thanks. This is the part of my code I'm having problem with: fig = plt.figure() ax = Axes3D(fig) surf = ax.plot_trisurf(x, y, z, cmap=plt.cm.get_cmap('jet',4), shade=False,linewidth=0.1, antialiased=False ) This is my

Matplotlib: GRID and COLORMAP with TRISURF

前提是你 提交于 2021-01-29 17:56:46
问题 I want to put a grid on my surface but it doesn't work even with linewidth different from zero, also I would like to plot a colormap that changes the color with Z axis, so the walls should appear with the same color cos they are points at 0.5 in Z. Hope somebody can help me, thanks. This is the part of my code I'm having problem with: fig = plt.figure() ax = Axes3D(fig) surf = ax.plot_trisurf(x, y, z, cmap=plt.cm.get_cmap('jet',4), shade=False,linewidth=0.1, antialiased=False ) This is my

Add a permanent contour line to a surface plot in R plotly

走远了吗. 提交于 2021-01-29 06:36:28
问题 I am using the plotly package in R to draw a surface plot and a contour plot: # Load package library(plotly) # Simulate the data for plotting x <- y <- seq(from = 0, to = 100, by = 1) z1 <- outer(X = x, Y = y, FUN = function(x, y) x^0.2 * y^0.3) # data for surface plot # Draw surface plot (3D) plotly::plot_ly(z = z1) %>% plotly::add_surface( contours = list( z = list( show = TRUE, usecolormap = TRUE, highlightcolor = "#ff0000", project = list(z = TRUE) ) ) ) # Draw contour plot (2D) plot_ly(z

Superimposing vectors, dgrid3d and pm3d in gnuplot for 3D plot

ε祈祈猫儿з 提交于 2021-01-29 02:57:49
问题 I am trying to plot a vector field in Gnuplot superimposing dgrid3d, pm3d and vectors. I can get dgrid3d and pm3d to work but when I try to superimpose the vectors weird things happen. I am trying the following: set dgrid3d 50,50,2 set pm3d at b set hidden3d splot 'v-field.dat' u 1:2:6 w l, "" u 1:2:3:4:5:6 w vectors Data is in the format: 0.0000000020000000 0.0833272880000000 0 0 0 1.62609277247135e-09 0.5000000020000001 0.5833272880000000 0 0 0 0.965930741599645 0.8749688835000000 0