Go Back   ChinaRiders Forums > General > Off-Topic/General Discussion
Register FAQ Community Calendar Today's Posts Search
Reply
 
Thread Tools Display Modes
Old 07-23-2023, 11:04 AM   #1
Texas Pete   Texas Pete is offline
 
Texas Pete's Avatar
 
Join Date: Nov 2022
Location: Dallas TX
Posts: 576
Was bored, wrote program to calculate CC or CI of an engine.

Language: Python


What is needed on Unix, Linux or Mac: Nothing, Python is installed by default on these operating systems as a system programming language of choice.


What is needed on Windows: You need to install Python manually first if not already installed by you previously on your Windows computer. Link: https://www.python.org/


How to use:
1. Go to the website of the motorcycle you are interested in.
2. Look for the "bore" and "stroke" specifications of the engine.


This example is for the Templar X 250 motorcycle.


TemplarSpecifications.jpg


3. Run the Python program attached to this post (after unzipping it)
From the command prompt in Windows, or if you have set it up
double click the icon for the program to run it.



prompt.png


4. Enter the Bore and Stroke numbers and the number of cylinders in the engine of the motorcycle you are wanting the answers for.


dataentered.png

Most listings for bore and stroke are in millimeters so I have set the default unit to mm but you can also change the Unit to either centimeters or inches if the bore and stroke just so happen to be listed in those values.




5. Click the Calculate button and get your answers.

answers.png


Enjoy!
Attached Files
File Type: zip cc_ci_calculator.zip (980 Bytes, 2 views)
__________________
2022 1/2 Templar X 250
- 6 gear model
- 13 Front / 40 Rear Sprockets
- #42 / #120 Jets
- 1mm thick nitrile O-ring needle shim (removed)
- Kenda K761 Dual Sport Tires
- Sedona Standard Thickness Inner Tubes
- Stock OEM battery, carburetor, spark plug still going strong
- https://youtu.be/dhAYEKH-jFQ

  1. Texas Pete's Templar X 250 Torque Specifications Sheet
  2. Texas Pete's Engine Displacement Calculator
  3. Texas Pete's Tire and Rim Compatibility


 
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:08 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.