716

logicGates

作者 fsmMLK

Inkscape extension to assist creating logic circuits symbols, following the 'distinctive shape' of IEEE Std 91/91a-1991 standard.

The main features are

- you can use up to six inputs for each gate (except NOT gate)
- each input can be set to be inverted (negated)
- signal labeling generator with a few commonly pre defined signals
- Boolean expression editor, with optional LaTeX support and pre defined logic operator functions.

----NEW---
- Added latches and flip-flops

Inkscape Extensions

連結
連結來源
github.com
建立時間
General Public License v3 (GPLv3)

連結

fsmMLK 寫於

UPDATE: Added latches and Flip-flops. Examples can be seen on Github link.

(PS: not sure why I cannot update the description text and sample image here)

Maren Hachmann 寫於

You should be able to click on 'Edit' on this page: https://inkscape.org/en/~fsmMLK/%E2%98%85logicgates
If not, can you post a screenshot of the options you get?

fsmMLK 寫於

If I edit the information it complains about all my tags and I am forced to remove them all. I also cannot upload a new figure.

Maren Hachmann 寫於

Yes, the tags issue needs to be fixed... https://gitlab.com/inkscape/inkscape-web/issues/44
Can you make a report for not being able to upload a new picture?

Panchdara 寫於

Hi - working almost okay- error when inserting a JK Flip-flop. MUST disable NOTQ otherwise error shown (not sure how to upload a screen dump):

Traceback (most recent call last):
File "logicGates.py", line 681, in <module>
logic.affect()
File "C:\Program Files (x86)\Inkscape\share\extensions/inkex.py", line 283, in affect
self.effect()
File "logicGates.py", line 121, in effect
asynPreset=int(so.latchPreset),asynClear=int(so.latchClear),size=so.latchSize,suppressq=so.latchSuppressq, suppressNOTq=so.latchSuppressNOTq)
File "logicGates.py", line 636, in createLatch
self.createOutput(True,group,position=[x_max,position[1]+dist_signal],extraLength=0.0,label='notQ',name=u'\u00ACQ',fontSizeFactor=fontSizeFactorG)
File "logicGates.py", line 265, in createOutput
self.createSignal(flagTrue,parent,[position[0],position[1]],direction,extraLength,label,name,fontSizeFactor)
File "logicGates.py", line 233, in createSignal
inkDraw.text.latex(self,group,name,position=posText,fontSize=self.fontSize*fontSizeFactor,refPoint=justif,preambleFile=self.preambleFile)
File "inkscapeMadeEasy_Draw.py", line 1256, in latex
groupLatex = text.write(ExtensionBaseObj, LaTeXtext, [0, 0], parent,textStyle=mytextStyle, fontSize=fontSize/0.76,justification=justification, angleDeg=0.0) # attention! keep angleDeg=0.0 here bc it will be rotated below
File "inkscapeMadeEasy_Draw.py", line 1108, in write
myTspan.text = textLines[n].decode('utf-8')
File "C:\Program Files (x86)\Inkscape\lib\python2.7/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xac' in position 0: ordinal not in range(128)

Panchdara 寫於

PS - Win 10, Inscape 0.92.2 32bit

brynn 寫於

Panchdara, it's probably better if you submit the traceback in a bug report in the Github account (provided above). Report a new Issue. (The author probably isn't expecting a bug report here, and might lose track of it.)

brynn 寫於

Hello,
Thank you for providing this extension for Inkscape users!

This is just to let you know that most 3rd party Inkscape extensions, like this one, probably will not work with the upcoming new Inkscape version, the long-awaited version 1.0.

Here is the info you need to update this extension, so that it will work with 1.0 and future versions.
https://wiki.inkscape.org/wiki/index.php?title=Updating_your_Extension_for_1.0

If you have further questions, you can contact Inkscape developers via mailing lists (https://lists.inkscape.org/postorius/lists/?all-lists), forum (https://inkscape.org/forums/extensions/), or the chatroom (https://chat.inkscape.org/channel/team_devel)

If you have already updated it, please disregard this message.

All best,
brynn

登入以留下評註!