Git Product home page Git Product logo

pst-optexp's Issues

Unable to use version 4.10

Hi Christoph,

i've installed the following actual versions:
pst-optexp 4.10 2014-06-04
pst-node 1.33 2014-03-25
multido 1.42 2010-05-14
pstricks-add.tex 3.73 2014-06-16
pst-eucl.tex 1.51 2014/05/17
ENVIRON v0.2

  1. Problem is, that only the objects (mirrors, optbox, lenses) are printed but no beam with \drawbeam(A){1}{2}
  2. The text "test" after \drawbeam was not printed. After commented out the \drawbeam command the text "test" was printed

Example:

\begin{pspicture}showgrid(3,3.3)
\pnode(0,2.5){A}\pnode(2,2.5){B}\pnode(2,1.5){C}
\mirrorlabelangle=-45(B)(C){M}
\optboxposition=start, labeloffset=0,
labelref=relative
(B){box}
\drawbeam(A){1}{2}
\end{pspicture}
test

Output:

pst-optexp

Kind Regards
Claus

Beamsplitter cube rotated

The beamsplitter cube is rotated by 45 degrees.
image

It should look like this (section 4.20 from the manual):
image

Source:

\documentclass{article}
\usepackage{pstricks}
\usepackage{pst-optexp}
\begin{document}
\begin{pspicture}(3,2)
    \beamsplitter[beam,bsstyle=cube,](0,1)(2,1)(2,0){BS}
\end{pspicture}
\end{document}

Built on a fairly recent miktex install. In particular, I have v6 of pst-optext.

Log file: pst-optexp.log

\optpoint

it would be nice if there was also a \optpoint (as starting point) which would allow to define a beam divergence angle for \drawwidebeam

Bug when using oapmirror

Hi,
I am using pst-optexp for experiment diagram. I found a problem when using oapmirror. The following code reproduce this:

\documentclass{article}
\usepackage{pst-optexp}
\begin{document}
	\begin{pspicture}[showgrid](8,2)
    	\pnode(5.0,0.9){In}
    	\pnode(1.0,1.0){OAP}
    	\pnode(7.0,1.0){F}
    	\oapmirror[compname=OAP1](In)(OAP)(F)
    	\drawwidebeam[beamwidth=.2](In){OAP1}(F)
	\end{pspicture}
\end{document}

The output is
image
which is not expected.

If the coordinate of {In} is changed to (5.0,1.0), nothing appears. If the coordinate of {In} is changed to (5.0,1.1), the result is correct. It seems this problem appears when the vertical coordinate of {In} is below {OAP}. Would you check this? Thanks a lot!

Ming

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.